Bugfix with the translation
bzr revid: stephane@tinyerp.com-20081027130756-bgkkfc5qdf2zdlvd
This commit is contained in:
parent
f7273ecbc7
commit
609d96b9ba
|
@ -286,9 +286,10 @@ def load_module_graph(cr, graph, status=None, **kwargs):
|
|||
|
||||
# Update translations for all installed languages
|
||||
modobj = pool.get('ir.module.module')
|
||||
modobj.update_translations(cr, 1, [mid], None)
|
||||
|
||||
cr.commit()
|
||||
if modobj:
|
||||
modobj.update_translations(cr, 1, [mid], None)
|
||||
cr.commit()
|
||||
|
||||
statusi+=1
|
||||
|
||||
cr.execute("""select model,name from ir_model where id not in (select model_id from ir_model_access)""")
|
||||
|
|
Loading…
Reference in New Issue