[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:
Christophe Simonis 2013-04-26 18:40:22 +02:00
parent 37b424648a
commit 46b06bedf7
1 changed files with 1 additions and 1 deletions

View File

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