[FIX] Bug 356863 : corrected menuitem's action allottment (ref:jvo,uco)

bzr revid: jvo@tinyerp.com-20090417095637-yn4jhpr36na9sbl8
This commit is contained in:
Jay (Open ERP) 2009-04-17 15:26:37 +05:30
parent 41249e7b8c
commit 9bcf97fa2d
1 changed files with 1 additions and 1 deletions

View File

@ -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,