bzr revid: ced-78bb417f2d1fad24497e82411ba92136dec07a7c
This commit is contained in:
ced 2007-02-07 15:57:31 +00:00
parent 34422c6df7
commit 61a6a96814
1 changed files with 0 additions and 1 deletions

View File

@ -198,7 +198,6 @@ class ir_model_data(osv.osv):
if xml_id:
self.create(cr, uid, {'name':xml_id, 'model':model, 'module':module, 'res_id':res_id, 'noupdate':noupdate})
else:
if model == 'ir.ui.menu' and not xml_id:
if mode=='init' or (mode=='update' and xml_id):
res_id = self.pool.get(model).create(cr, uid, values)
if xml_id: