KERNEL: clean the code

bzr revid: ced-3cd5d34a7bd4ecc757b295cd99b184804f841558
This commit is contained in:
ced 2007-03-12 09:54:13 +00:00
parent ecf679f5ed
commit 86e7f0cc90
1 changed files with 0 additions and 2 deletions

View File

@ -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)