bzr revid: fp@tinyerp.com-20090102145726-bqaitcn1kmfutyoj
This commit is contained in:
Fabien Pinckaers 2009-01-02 15:57:26 +01:00
parent 577a2a1a11
commit 0b14d89e15
1 changed files with 1 additions and 0 deletions

View File

@ -646,6 +646,7 @@ def load_modules(db, force_demo=False, status=None, update_module=False):
for rmod,rid in cr.fetchall():
uid = 1
pool.get(rmod).unlink(cr, uid, [rid])
cr.execute('delete from ir_model_data where noupdate=%s and module=%s', (False, mod_name,))
cr.commit()
#
# TODO: remove menu without actions of childs