[IMP] convert: allow to have <act_window> tags with attribute multi="False" set
bzr revid: chs@openerp.com-20130426164022-nf9eldyge783b5r1
This commit is contained in:
parent
37b424648a
commit
46b06bedf7
|
@ -489,7 +489,7 @@ form: module.record_id""" % (xml_id,)
|
|||
if rec.get('target'):
|
||||
res['target'] = rec.get('target','')
|
||||
if rec.get('multi'):
|
||||
res['multi'] = rec.get('multi', False)
|
||||
res['multi'] = eval(rec.get('multi', 'False'))
|
||||
id = self.pool['ir.model.data']._update(cr, self.uid, 'ir.actions.act_window', self.module, res, xml_id, noupdate=self.isnoupdate(data_node), mode=self.mode)
|
||||
self.idref[xml_id] = int(id)
|
||||
|
||||
|
|
Loading…
Reference in New Issue