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