Allow payment for off-balance account

issue8849
review276391002
This commit is contained in:
Cédric Krier committed 2019-12-07 16:10:12 +01:00
1 parent 1c4c91f423
commit 80c9dc0bba
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ class Payment(metaclass=PoolMeta):
'account.account', "Account", ondelete='RESTRICT',
domain=[
('company', '=', Eval('company', -1)),
('type.statement', '=', 'balance'),
('type.statement', 'in', ['balance', 'off-balance']),
['OR',
('second_currency', '=', Eval('currency', None)),
[