Update context before it could be overriden by field name
This commit is contained in:
1 parent
82f7e8ec11
commit
769b28bd0f
1 file changed
+1
-1
@@ -452,10 +452,10 @@ class Record(SignalEvent):
|
||||
self._check_load()
|
||||
ctx = rpc.CONTEXT.copy()
|
||||
ctx['context'] = ctx.copy()
|
||||
ctx['context'].update(self.context_get())
|
||||
for name, field in self.group.fields.items():
|
||||
ctx[name] = field.get_eval(self, check_load=check_load)
|
||||
|
||||
ctx['context'].update(self.context_get())
|
||||
ctx['active_id'] = self.id
|
||||
ctx['id'] = self.id # Force local id
|
||||
ctx['_user'] = rpc._USER
|
||||
|
||||
Reference in new issue
Block a user