From f626f391cd5675e0a9c8757a96accc251a40cafd Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 21 Oct 2008 10:42:14 +0200 Subject: [PATCH] warning is warning :o bzr revid: christophe@tinyerp.com-20081021084214-jncb5rjj4454hmoe --- bin/tools/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tools/convert.py b/bin/tools/convert.py index 15add7ae5c5..932107636be 100644 --- a/bin/tools/convert.py +++ b/bin/tools/convert.py @@ -488,7 +488,7 @@ form: module.record_id""" % (xml_id,) print 'Menu Error', self.module, xml_id, idx==len(m_l)-1 else: # the menuitem does't exist but we are in branch (not a leaf) - self.logger.notifyChannel("init", netsvc.LOG_INFO, 'Warning no ID for submenu %s of menu %s !' % (menu_elem, str(m_l))) + self.logger.notifyChannel("init", netsvc.LOG_WARNING, 'Warning no ID for submenu %s of menu %s !' % (menu_elem, str(m_l))) pid = self.pool.get('ir.ui.menu').create(cr, self.uid, {'parent_id' : pid, 'name' : menu_elem}) else: menu_parent_id = self.id_get(cr, 'ir.ui.menu', rec.getAttribute('parent'))