← Back to team overview

openerp-india team mailing list archive

[Bug 1076374] Re: [trunk] colum id on table sale_order doesn't exist after unistall module delivery

 

** Changed in: openobject-addons
       Status: Confirmed => In Progress

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

Title:
  [trunk] colum id on table sale_order doesn't exist after unistall
  module delivery

Status in OpenERP Addons (modules):
  In Progress

Bug description:
  here is the traceback :


  Client Traceback (most recent call last):
    File "/home/openerp/branch_bzr_7/openerp-web/addons/web/http.py", line 174, in dispatch
      response["result"] = method(self, **self.params)
    File "/home/openerp/branch_bzr_7/openerp-web/addons/web/controllers/main.py", line 1058, in load
      return {'data': self.do_load(req)}
    File "/home/openerp/branch_bzr_7/openerp-web/addons/web/controllers/main.py", line 1103, in do_load
      menu_items = Menus.read(menu_ids, ['name', 'sequence', 'parent_id', 'action', 'needaction_enabled', 'needaction_counter'], context)
    File "/home/openerp/branch_bzr_7/openerp-web/addons/web/session.py", line 42, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/home/openerp/branch_bzr_7/openerp-web/addons/web/session.py", line 30, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/home/openerp/branch_bzr_7/openerp-web/addons/web/session.py", line 105, in send
      raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/home/openerp/branch_bzr_7/openerp-web/addons/web/session.py", line 91, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/netsvc.py", line 361, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/service/web_services.py", line 585, in dispatch
      res = fn(db, uid, *params)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/orm.py", line 3559, in read
      result = self._read_flat(cr, user, select, fields, context, load)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/orm.py", line 3667, in _read_flat
      res2 = self._columns[val[0]].get(cr, self, ids, val, user, context=context, values=res)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/fields.py", line 1117, in get
      result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/addons/base/ir/ir_ui_menu.py", line 283, in _get_needaction
      res[menu.id]['needaction_counter'] = obj._needaction_count(cr, uid, dom, context=context)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/addons/base/ir/ir_needaction.py", line 63, in _needaction_count
      return self.search(cr, uid, (domain or []) +dom, context=context, count=True)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/orm.py", line 2346, in search
      return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/osv/orm.py", line 4771, in _search
      cr.execute('SELECT count("%s".id) FROM ' % self._table + from_clause + where_str + limit_str + offset_str, where_clause_params)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/sql_db.py", line 162, in wrapper
      return f(self, *args, **kwargs)
    File "/home/openerp/branch_bzr_7/openobject-server/openerp/sql_db.py", line 227, in execute
      res = self._obj.execute(query, params)
  ProgrammingError: column sale_order.id does not exist
  LINE 1: SELECT count("sale_order".id) FROM "sale_order" WHERE ((sale...
                       ^

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


References