From 48a8d1f0a1f0089d35d6349db25eaf5369f4e120 Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Tue, 22 Sep 2009 11:07:03 +0530 Subject: [PATCH] [FIX] Fields.function : Store value computation corrected lp bug: https://launchpad.net/bugs/421904 fixed bzr revid: jvo@tinyerp.com-20090922053703-14vmsvuxccsy0ntb --- bin/osv/orm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/osv/orm.py b/bin/osv/orm.py index 26afced1669..cf215adf12e 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -2706,6 +2706,8 @@ class orm(orm_template): for fnct in range(len(fncts)): if fncts[fnct][3]: ok = False + if not fields: + ok = True for f in (fields or []): if f in fncts[fnct][3]: ok = True