← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 596418] Re: Grant Access to Menu: error after upgrading to 5.11

 

Module uninstall is not officially supported.

** Changed in: openobject-addons
       Status: Confirmed => Invalid

-- 
Grant Access to Menu: error after upgrading to 5.11
https://bugs.launchpad.net/bugs/596418
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Invalid

Bug description:
Since I updated from 5.07 to 5.11, when I try to access the menu Grant Access to Menu, I get the following error:

Environment Information : 
System : Linux-2.6.32-22-generic-i686-with-Ubuntu-10.04-lucid
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04 LTS
Release:	10.04
Codename:	lucid
Operating System Release : 2.6.32-22-generic
Operating System Version : #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010
Operating System Architecture : 32bit
Operating System Locale : fr_FR.UTF8
Python Version : 2.6.5
OpenERP-Client Version : 5.0.11
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 247, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 76, in __call__
    return getattr(self, method)(*params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 577, in execute
    res = service.execute(db, uid, object, method, *args)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 58, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 119, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 111, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/lib/python2.5/site-packages/openerp-server/addons/base/ir/ir_ui_menu.py", line 109, in search
    if menu.action:
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 239, in __getattr__
    return self[name]
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 189, in __getitem__
    datas = self._table.read(self._cr, self._uid, ids, fffields, context=self._context, load="_classic_write")
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 2247, in read
    cr.execute(query, (v,))
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/sql_db.py", line 77, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/sql_db.py", line 122, in execute
    res = self._obj.execute(query, params)
ProgrammingError: column "action" does not exist
LINE 1: UPDATE "ir_ui_menu" SET "action"=NULL WHERE "action"=E'ir.ac...
                                                    ^

I solve it for the time being creating a manual column "action" in  ir_ui_menu