diff --git a/bin/tools/convert.py b/bin/tools/convert.py index 90523b52867..e652df50aed 100644 --- a/bin/tools/convert.py +++ b/bin/tools/convert.py @@ -208,13 +208,10 @@ class xml_import(object): action_type,action_mode = cr.fetchone() if action_type=='tree': values['icon'] = 'STOCK_INDENT' - print 'INDENT' elif action_mode and action_mode.startswith('tree'): values['icon'] = 'STOCK_JUSTIFY_FILL' - print 'FILL' elif action_mode and action_mode.startswith('graph'): values['icon'] = 'terp-account' - print 'COLOR' if rec.hasAttribute('sequence'): values['sequence'] = int(rec.getAttribute('sequence')) if rec.hasAttribute('icon'): @@ -226,7 +223,6 @@ class xml_import(object): g_ids.extend(self.pool.get('res.groups').search(cr, self.uid, [('name', '=', group)])) values['groups_id'] = [(6, 0, g_ids)] xml_id = rec.getAttribute('id').encode('utf8') - print values pid = self.pool.get('ir.model.data')._update(cr, self.uid, 'ir.ui.menu', self.module, values, xml_id, idx==len(m_l)-1, mode=self.mode, res_id=res and res[0] or False) elif res: # the menuitem already exists