[FIX] Update the reports
lp bug: https://launchpad.net/bugs/312741 fixed bzr revid: stephane@tinyerp.com-20090102225525-s7ud97ayilfdfe2f
This commit is contained in:
parent
aea0ab1d89
commit
7ad0393dfa
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue