From b8bb522a8d03e93e4cd7ea01e66bcafcf7679f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 22 Feb 2008 13:59:14 +0100 Subject: [PATCH] Set fs2values also when create object because it can be used by an inherited record --- trytond/ir/model.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trytond/ir/model.py b/trytond/ir/model.py index 59582bdff9..cfd6cafb18 100644 --- a/trytond/ir/model.py +++ b/trytond/ir/model.py @@ -393,7 +393,8 @@ class ModelData(OSV): }) # update fs2db: self.fs2db[cursor.dbname][(fs_id, module)]= (db_id, model, - str(values), mdata_id) + mdata_id) + self.fs2values[cursor.dbname][(fs_id, module)] = None def post_import(self, cursor, user, modules): # Test because of a wrong extra call. See todo at the end of