[FIX] convert: fix previous partial patch for removing redundant @type for <menuitem>

bzr revid: odo@openerp.com-20120823100504-q8w91ga5wbot20o5
This commit is contained in:
Olivier Dony 2012-08-23 12:05:04 +02:00
parent ebb3df4f8c
commit 7ddc6a2cd9
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {