From 86e7f0cc900fb2b64b1e5c450f32454ef6428e5d Mon Sep 17 00:00:00 2001 From: ced <> Date: Mon, 12 Mar 2007 09:54:13 +0000 Subject: [PATCH] KERNEL: clean the code bzr revid: ced-3cd5d34a7bd4ecc757b295cd99b184804f841558 --- bin/addons/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/addons/__init__.py b/bin/addons/__init__.py index b06de28e1ba..62b552ef38c 100644 --- a/bin/addons/__init__.py +++ b/bin/addons/__init__.py @@ -163,8 +163,6 @@ def init_module_objects(cr, module_name, obj_list): pool = pooler.get_pool(cr.dbname) logger.notifyChannel('init', netsvc.LOG_INFO, 'addon:%s:creating or updating database tables' % module_name) for obj in obj_list: - #CHECKME: is this test useful? all objects are supposed to have an _auto_init method, right? - #if hasattr(obj, '_auto_init'): if hasattr(obj, 'init'): obj.init(cr) obj._auto_init(cr)