[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:
parent
8afaffc811
commit
282cab24a0
|
@ -2736,6 +2736,8 @@ class orm(orm_template):
|
||||||
for fnct in range(len(fncts)):
|
for fnct in range(len(fncts)):
|
||||||
if fncts[fnct][3]:
|
if fncts[fnct][3]:
|
||||||
ok = False
|
ok = False
|
||||||
|
if not fields:
|
||||||
|
ok = True
|
||||||
for f in (fields or []):
|
for f in (fields or []):
|
||||||
if f in fncts[fnct][3]:
|
if f in fncts[fnct][3]:
|
||||||
ok = True
|
ok = True
|
||||||
|
|
Loading…
Reference in New Issue