[FIX] Update the reports

lp bug: https://launchpad.net/bugs/312741 fixed

bzr revid: stephane@tinyerp.com-20090102225525-s7ud97ayilfdfe2f
This commit is contained in:
Stephane Wirtel 2009-01-02 23:55:25 +01:00
parent aea0ab1d89
commit 7ad0393dfa
1 changed files with 3 additions and 4 deletions

View File

@ -43,10 +43,9 @@ def get_db_and_pool(db_name, force_demo=False, status=None, update_module=False)
finally:
cr.close()
if not update_module:
import report
report.interface.register_all(db)
pool.get('ir.cron')._poolJobs(db.dbname)
import report
report.interface.register_all(db)
pool.get('ir.cron')._poolJobs(db.dbname)
return db, pool