← Back to team overview

credativ team mailing list archive

[Bug 909014] Re: [trunk]Not Create Account form Account Templates

 

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/909014

Title:
  [trunk]Not Create Account form Account Templates

Status in OpenERP Addons (modules):
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/909014/+subscriptions


References