[FIX] Fields.function : Store value computation corrected

[openobject-server @ jvo@tinyerp.com-20090922053703-14vmsvuxccsy0ntb]

bzr revid: p_christ@hol.gr-20090925203907-93qtmx98khzb8oxo
This commit is contained in:
Jay (Open ERP) 2009-09-25 23:39:07 +03:00 committed by P. Christeas
parent 8afaffc811
commit 282cab24a0
1 changed files with 2 additions and 0 deletions

View File

@ -2736,6 +2736,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