Add missing context in rpc call of sig_logs

This commit is contained in:
Cédric Krier committed 2010-11-13 21:41:29 +01:00
1 parent 47020e3b3d
commit 91c356e218
1 file changed
+4 -1
+4 -1
View File
@@ -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: