c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #03806
[Bug 673900] Re: "object not iterable error" in nan_account_statement_of_accounts
Hello ,
Our R&D Teams are focused on the latest OpenERP version, and this issue does not affect it.
Our policy is to keep the changes applied on stable branches to a minimum, in order to limit the regression risks for customers that are in production. This means that bugs reported on Launchpad are fixed in the trunk branch only by default, even if they were reported against other stable versions.
We stand of course ready to backport the change to stable releases if it has an impact on any customer. In this case please report it to our maintenance team via the OpenERP Publisher's Warranty. They will quickly help solve the issue and backport the fix if needed.
Thank you for your understanding!
** Changed in: openobject-addons
Status: New => Won't Fix
** Changed in: openobject-addons
Assignee: (unassigned) => NaN (nan-tic)
--
"object not iterable error" in nan_account_statement_of_accounts
https://bugs.launchpad.net/bugs/673900
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Won't Fix
Bug description:
Sometimes, on the 5.0.15 GTK client (does not happen on Koo client), if the module nan_account_statement_of_accounts is installed, the next error is raised when looking for accounts:
Traceback (most recent call last):
File "widget\view\form_gtk\parser.pyo", line 148, in button_clicked
File "modules\action\main.pyo", line 132, in _exec_action
File "modules\gui\window\__init__.pyo", line 51, in create
File "modules\gui\window\form.pyo", line 137, in __init__
File "widget\screen\screen.pyo", line 205, in search_filter
File "rpc.pyo", line 149, in rpc_exec_auth_try
File "rpc.pyo", line 113, in exec_auth
File "rpc.pyo", line 119, in execute
File "tiny_socket.pyo", line 81, in myreceive
tiny_socket.Myexception: ("'long' object is not iterable", 'Traceback (most
recent call last):\n File
"/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 299,
in dispatch\n result = LocalService(service_name)(method, *params)\n
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line
77, in __call__\n return getattr(self, method)(*params)\n File
"/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py",
line 577, in execute\n res = service.execute(db, uid, object, method,
*args)\n File
"/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 58,
in wrapper\n return f(self, dbname, *args, **kwargs)\n File
"/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line
119, in execute\n res = pool.execute_cr(cr, uid, obj, method, *args,
**kw)\n File
"/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line
111, in execute_cr\n return getattr(object, method)(cr, uid, *args,
**kw)\n File
"/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line
1416, in search_count\n res = self.search(cr, user, args,
context=context, count=True)\n File
"/usr/local/lib/python2.6/dist-packages/openerp-server/addons/nan_account_statement_of_accounts/account_wizard.py",
line 134, in search\n ids = \',\'.join( [str(int(x)) for x in ids]
)\nTypeError: \'long\' object is not iterable\n')
It looks like nan_account_statement_of_accounts redefines the search for accounts, and it does not expect "ids" to be a single number.
References