Priyesh (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-575460-pso into
lp:openobject-addons/6.1.
Requested reviews:
Olivier Dony (OpenERP) (odo-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-575460-pso/+merge/108675
Hello,
To reproduce the issue:
Install point_of_sale module.
Go to the Accounting/Configuration/Financial Accounting/Journals/Journals.
Open the Bank statements.
It will raise an error like this:
NotImplementedError: Iteration is not allowed on browse_record(account.journal,
15)
I fixed this issue. Kindly review the branch and let me know your inputs on it.
Regards,
Priyesh
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-575460-pso/+merge/108675
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-575460-pso.
=== modified file 'account/account.py'
--- account/account.py 2012-03-22 12:24:19 +0000
+++ account/account.py 2012-06-05 06:08:23 +0000
@@ -824,6 +824,8 @@
@return: Returns a list of tupples containing id, name
"""
+ if isinstance(ids, (int, long)):
+ ids = [ids]
result = self.browse(cr, user, ids, context=context)
res = []
for rs in result:
_______________________________________________
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