From a443ec7892ce9f52dc2b5c2b3d000138f275d0ce Mon Sep 17 00:00:00 2001 From: pinky <> Date: Wed, 27 Dec 2006 14:59:34 +0000 Subject: [PATCH] Removed debug statement bzr revid: pinky-481e718c622b297b2c979d671fd721e1f01ac07c --- bin/tools/convert.py | 4 ---- 1 file changed, 4 deletions(-) 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