summaryrefslogtreecommitdiff
path: root/bin/pooler.py
diff options
context:
space:
mode:
authorced <>2007-06-07 12:00:30 +0000
committerced <>2007-06-07 12:00:30 +0000
commit6f524993c38e6021dfbf246ee075f1571c8a6a00 (patch)
treeb9386f43bd0c9cbecbe6cc8b92313466586c0ec7 /bin/pooler.py
parentc10621cc83d603881d488ce27326ec7772627dff (diff)
KERNEL: add test for duplicate report and wizard
Remove/Fix all the duplicate report and wizard Don't instanciate auto report when update as there are already Instanciate auto report only if it don't exist in netsvc bzr revid: ced-f59b375f6fc502b8a3e6009162502e2becfc82f7
Diffstat (limited to 'bin/pooler.py')
-rw-r--r--bin/pooler.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/pooler.py b/bin/pooler.py
index 87ab9b740d0..95eb13314a2 100644
--- a/bin/pooler.py
+++ b/bin/pooler.py
@@ -50,8 +50,9 @@ def get_db_and_pool(db_name, force_demo=False, status={}, update_module=False):
pool_dic[db_name] = pool
addons.load_modules(db, force_demo, status, update_module)
- import report
- report.interface.register_all(db)
+ if not update_module:
+ import report
+ report.interface.register_all(db)
pool.get('ir.cron')._poolJobs(db.dbname)
return db, pool