From 80023b6bb27ab801436e5d658adc328fdbb7247f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 26 Nov 2008 20:38:02 +0100 Subject: [PATCH] Remove log for expr_eval on on_change --- tryton/gui/window/view_form/model/record.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tryton/gui/window/view_form/model/record.py b/tryton/gui/window/view_form/model/record.py index 7706f516c9..2365260d5f 100644 --- a/tryton/gui/window/view_form/model/record.py +++ b/tryton/gui/window/view_form/model/record.py @@ -319,9 +319,6 @@ class ModelRecord(SignalEvent): try: args[arg] = self.expr_eval(arg) except: - log = logging.getLogger('record') - log.error("Unable to eval %s for field %s (record: %s@%s)"% \ - (arg, fieldname, self.id, self.resource)) args[arg] = False ids = [self.id] ctx = rpc.CONTEXT.copy() @@ -361,10 +358,6 @@ class ModelRecord(SignalEvent): try: args[arg] = self.expr_eval(arg) except: - log = logging.getLogger('record') - log.error("Unable to eval %s for field %s (record: %s@%s)"%\ - (arg, field_name, self.id, self.resource)) - args[arg] = False ids = [self.id] ctx = rpc.CONTEXT.copy()