Amit Dodiya (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-574780-ado into
lp:openobject-addons/6.1.
Requested reviews:
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-574780-ado/+merge/105763
Hello,
"[FIX] : error while opening the bank statements from journal form due to
passing browse record instead of list in loop"
Steps:
1). Goto PoS Backend/Configuration/Payment Methods:
2). Open any payment method
3). Click on bank statements act window
You will get the error.
Regards,
Amit
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-574780-ado/+merge/105763
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-574780-ado.
=== modified file 'account/account.py'
--- account/account.py 2012-03-22 12:24:19 +0000
+++ account/account.py 2012-05-15 06:46:20 +0000
@@ -826,6 +826,8 @@
"""
result = self.browse(cr, user, ids, context=context)
res = []
+ if not isinstance(result,list):
+ result = [result]
for rs in result:
if rs.currency:
currency = rs.currency
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp