Use positional argument when applying account receivable rule
The ModelView.button decorator is expected first positional argument to be named records so we can not use keyword argument in this case. Closes #13063 (grafted from d860272ff5b1f8e707cc29a358c288e7a83dbe70) --HG-- branch : 7.0
This commit is contained in:
1 parent
c8ce760192
commit
67bb5d05df
1 file changed
+1
-1
@@ -416,4 +416,4 @@ class Statement(metaclass=PoolMeta):
|
||||
for statement in statements:
|
||||
for line in statement.lines:
|
||||
rules.update(line.account.receivable_rules)
|
||||
Rule.apply(rules=Rule.browse(rules))
|
||||
Rule.apply(Rule.browse(rules))
|
||||
Reference in new issue
Block a user