[trunk]Not Create Account form Account Templates

Bug #909014 reported by Mayur Maheshwari(OpenERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

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'...

Related branches

Changed in openobject-addons:
status: New → Confirmed
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
DJ Patel (OpenERP) (mdi-openerp) wrote :

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)

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
milestone: none → 6.1
Revision history for this message
qdp (OpenERP) (qdp) wrote :

released in revision 6199

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.