Add missing context in rpc call of sig_logs
This commit is contained in:
1 parent
47020e3b3d
commit
91c356e218
1 file changed
+4
-1
@@ -250,7 +250,10 @@ class Form(SignalEvent):
|
||||
('write_date', _('Latest Modification Date:')),
|
||||
]
|
||||
|
||||
args = ('model', self.model, 'read', [obj_id], [x[0] for x in fields])
|
||||
ctx = self.context.copy()
|
||||
ctx.update(rpc.CONTEXT)
|
||||
args = ('model', self.model, 'read', [obj_id], [x[0] for x in fields],
|
||||
ctx)
|
||||
try:
|
||||
res = rpc.execute(*args)
|
||||
except Exception, exception:
|
||||
|
||||
Reference in new issue
Block a user