Initialize context to rpc context on fields eval

This commit is contained in:
Cédric Krier committed 2008-03-22 23:27:43 +01:00
1 parent 6a87f6512a
commit e2f713c820
1 file changed
+1 -1
+1 -1
View File
@@ -257,7 +257,7 @@ class ModelRecord(SignalEvent):
return dom
if check_load:
self._check_load()
ctx = {}
ctx = rpc.CONTEXT.copy()
for name, mfield in self.mgroup.mfields.items():
ctx[name] = mfield.get(self, check_load=check_load)