Add missing module in context when updating xml record for issue657

This commit is contained in:
Cédric Krier
2008-12-11 01:02:20 +01:00
parent c04e902cc2
commit 72a73cb5e0
+2 -1
View File
@@ -648,7 +648,8 @@ class TrytondXmlHandler(sax.handler.ContentHandler):
# if there is values to update:
if to_update:
# write the values in the db:
object_ref.write(cursor, user, db_id, to_update)
object_ref.write(cursor, user, db_id, to_update,
context={'module': module})
if not inherit_db_ids: