step
======
1] install account module
2]open a form Accounting/Configuration/Financial Accounting/Templates/Accounts/Account Templates
3] create record and then in right tab create Account open that wizard fill parent target field
4] click add it's give a Error like "ProgrammingError: arguments of row IN must all be row expressions"
Traceback (most recent call last):
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/wsgi.py", line 77, in xmlrpc_return
result = openerp.netsvc.dispatch_rpc(service, method, params)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/netsvc.py", line 325, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/service/web_services.py", line 580, in dispatch
res = fn(db, uid, *params)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 172, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/mma/home/workplace/rdtools/addons/trunk/account/account.py", line 2595, in action_create
company_id = acc_obj.read(cr, uid, [data[0]['cparent_id']], ['company_id'])[0]['company_id'][0]
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/orm.py", line 3367, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/orm.py", line 3426, in _read_flat
cr.execute(query, (tuple(sub_ids),))
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/sql_db.py", line 153, in wrapper
return f(self, *args, **kwargs)
File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/sql_db.py", line 215, in execute
res = self._obj.execute(query, params)
ProgrammingError: arguments of row IN must all be row expressions
LINE 1: ...d FROM "account_account" WHERE account_account.id IN ((8, E'...
Hello Mayur Maheshwari,
Thanks for reporting. The solution for this bug is proposed in the branch : https:/ /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 909014- mdi/
with following Revision ID and Number.
Revision ID : <email address hidden>
Revision Number : 6170
Thanks and Regards,
Divyesh Makwana(MDI)