diff --git a/bin/osv/orm.py b/bin/osv/orm.py index d058ef0af3a..d06c069e3af 100644 --- a/bin/osv/orm.py +++ b/bin/osv/orm.py @@ -1390,7 +1390,18 @@ class orm(object): else: i+=1 continue - if field._type=='one2many': + if field._properties: + arg = [args.pop(i)] + j = i + while j