[FIX] crm_configuration: doesn't remove xml_id of menus to make them translatable
authorChristophe Simonis <christophe@tinyerp.com>
Thu, 27 Nov 2008 12:48:10 +0000 (13:48 +0100)
committerChristophe Simonis <christophe@tinyerp.com>
Thu, 27 Nov 2008 12:48:10 +0000 (13:48 +0100)
lp bug: https://launchpad.net/bugs/302646 fixed

bzr revid: christophe@tinyerp.com-20081127124810-0inrcy2lz8ofac05

addons/crm_configuration/crm_config.py

index 572c788..59afe9c 100644 (file)
@@ -142,8 +142,6 @@ class crm_menu_config_wizard(osv.osv_memory):
                     fp = None
                 if fp:
                     tools.convert_xml_import(cr, 'crm_configuration', fp,  idref, 'init', noupdate=True)
-        for name in idref.keys():
-            cr.execute('delete from ir_model_data where name=%s and module=%s', (name, 'crm_configuration'))
         return {
                 'view_type': 'form',
                 "view_mode": 'form',