← Back to team overview

openerp-india team mailing list archive

[Bug 934493] Re: Opportunities menu option fails after installing three modules

 

Hello,

Would you please update your code properly and then try with -u all -d
(db name) then try again.

Thank you!

** Changed in: openobject-server
       Status: New => Invalid

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/934493

Title:
  Opportunities menu option fails after installing three modules

Status in OpenERP Server:
  Invalid

Bug description:
  Ubuntu Server 11.10, openerp_6.1-20120217-003606-1_all.deb
  (New database with demonstration data, no configuration intended, just installed the modules in the following order) 

  After installing modules crm -> base_contact->sale, I get the
  following error when selecting Sales->Sales->Opportunities:

  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 180, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 829, in search_read
      return self.do_search_read(req, model, fields, offset, limit, domain, sort)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 867, in do_search_read
      records = Model.read(ids, fields or False, context)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
      args, kw)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 611, in send
      raise fault

  Server Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/common/http.py", line 592, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 572, in dispatch
      res = fn(db, uid, *params)
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 3381, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 3504, in _read_flat
      res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
    File "/usr/lib/pymodules/python2.7/openerp/osv/fields.py", line 480, in get
      context=context))
    File "/usr/lib/pymodules/python2.7/openerp/addons/base/res/res_partner.py", line 209, in name_get
      res = [(r['id'], r[rec_name]) for r in self.read(cr, uid, ids, [rec_name], context)]
    File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 3381, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 3440, in _read_flat
      cr.execute(query, (tuple(sub_ids),))
    File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 152, in wrapper
      return f(self, *args, **kwargs)
    File "/usr/lib/pymodules/python2.7/openerp/sql_db.py", line 212, in execute
      res = self._obj.execute(query, params)
  InternalError: current transaction is aborted, commands ignored until end of transaction block

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


References