changeset 9ac503a95761 in modules/account_payment_clearing:default
details:
https://hg.tryton.org/modules/account_payment_clearing?cmd=changeset;node=9ac503a95761
description:
Allow payment for off-balance account
issue8849
review276391002
diffstat:
payment.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 54755a8b2ae3 -r 9ac503a95761 payment.py
--- a/payment.py Wed Dec 04 11:09:35 2019 +0100
+++ b/payment.py Sat Dec 07 16:10:12 2019 +0100
@@ -58,7 +58,7 @@
'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)),
[