From 91c356e218d76c8a132ce80c3e7461b0b451d188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 13 Nov 2010 21:41:29 +0100 Subject: [PATCH] Add missing context in rpc call of sig_logs --- tryton/gui/window/form.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tryton/gui/window/form.py b/tryton/gui/window/form.py index 8024d36ffb..a635a50bec 100644 --- a/tryton/gui/window/form.py +++ b/tryton/gui/window/form.py @@ -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: