From c6fe2aa62037ae2048e901608e82107f1f2dd196 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 24 Apr 2007 17:22:54 +0000 Subject: [PATCH] New Module: account_report: fiscal statement and reports /+ indicators L10N_BE: demo data for fiscal report: bilan compte des r?\233sultats Indicateurs bzr revid: fp@tinyerp.com-a0238621d1555c90ad83322cc537a4b70d9e337a --- bin/osv/orm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/osv/orm.py b/bin/osv/orm.py index 174d4477cae..61d5f298d76 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -603,7 +603,7 @@ class orm(object): elif fields_def[field[len(prefix)]]['type']=='selection': res = False for key,val in fields_def[field[len(prefix)]]['selection']: - if val==line[i]: + if key==line[i]: #val==line[i] if from the client ! res = key if line[i] and not res: logger = netsvc.Logger()