c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #29496
[Bug 803869] Re: impossible to open an existing resource from wizard
*** This bug is a duplicate of bug 705312 ***
https://bugs.launchpad.net/bugs/705312
** This bug has been marked a duplicate of bug 705312
Sometimes, when you click on an item in a tree view, you get a Menu object
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/803869
Title:
impossible to open an existing resource from wizard
Status in OpenERP Web Client:
Incomplete
Bug description:
openobject-client-web/6.0 revno 4647
openobject-server/6.0 revno 3454
openobject-addons/6.0 revno 4680
Steps:
1 - Create new DB
2 - Install 'sale_crm'
3 - Open 'new opportunity' form
4 - Insert the opportunity name and fill the 'Customer' with an existing customer
5 - Click on 'Convert to Quote'
6 - Click on 'Create'
You get
[2011-06-30 14:41:11,565][test] WARNING:osv.browse_record.ir.ui.menu:No field_values found for ids [1] in browse_record(ir.ui.menu, 1)
[2011-06-30 14:41:11,566][test] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/orm.py", line 2944, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/orm.py", line 3064, in _read_flat
res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/fields.py", line 800, in get
res = self._fnct(obj, cr, user, ids, name, self._arg, context)
File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/base/ir/ir_ui_menu.py", line 132, in _get_full_name
res[m.id] = self._get_one_full_name(m)
File "/home/elbati/workspace/openerp/openerp6/server/bin/addons/base/ir/ir_ui_menu.py", line 138, in _get_one_full_name
if menu.parent_id:
File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/orm.py", line 294, in __getattr__
raise AttributeError(e)
AttributeError: 'Field parent_id not found in browse_record(ir.ui.menu, 1)'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/803869/+subscriptions
References