[FIX] convert: fix previous partial patch for removing redundant @type for <menuitem>
bzr revid: odo@openerp.com-20120823100504-q8w91ga5wbot20o5
This commit is contained in:
parent
ebb3df4f8c
commit
7ddc6a2cd9
|
@ -593,7 +593,7 @@ form: module.record_id""" % (xml_id,)
|
|||
a_action = rec.get('action','').encode('utf8')
|
||||
|
||||
# determine the type of action
|
||||
a_type, a_id = self.model_id_get(a_action)
|
||||
a_type, a_id = self.model_id_get(cr, a_action)
|
||||
a_type = a_type.split('.')[-1] # keep only type part
|
||||
|
||||
icons = {
|
||||
|
|
Loading…
Reference in New Issue