Allow payment for off-balance account
issue8849 review276391002
This commit is contained in:
1 parent
1c4c91f423
commit
80c9dc0bba
1 file changed
+1
-1
+1
-1
@@ -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)),
|
||||
[
|
||||
|
||||
Reference in new issue
Block a user