[FIX] Bug 356863 : corrected menuitem's action allottment (ref:jvo,uco)
bzr revid: jvo@tinyerp.com-20090417095637-yn4jhpr36na9sbl8
This commit is contained in:
parent
41249e7b8c
commit
9bcf97fa2d
|
@ -200,7 +200,7 @@ class ir_ui_menu(osv.osv):
|
|||
if values_ids:
|
||||
values_obj.write(cursor, user, values_ids[0], {'value': value},
|
||||
context=ctx)
|
||||
else:
|
||||
elif ctx:
|
||||
values_obj.create(cursor, user, {
|
||||
'name': 'Menuitem',
|
||||
'model': self._name,
|
||||
|
|
Loading…
Reference in New Issue