From 72a73cb5e09e4a11e8fb3ddbc33cd4ed8ae5e423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 11 Dec 2008 01:02:20 +0100 Subject: [PATCH] Add missing module in context when updating xml record for issue657 --- trytond/tools/convert.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trytond/tools/convert.py b/trytond/tools/convert.py index 5b50196ec4..191018fd01 100644 --- a/trytond/tools/convert.py +++ b/trytond/tools/convert.py @@ -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: