changeset 2cb58f13733f in modules/account_payment:default
details:
https://hg.tryton.org/modules/account_payment?cmd=changeset;node=2cb58f13733f
description:
Fix search of revserse kind of line
issue8213
diffstat:
account.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b1cb85e1fc7d -r 2cb58f13733f account.py
--- a/account.py Fri Apr 12 19:43:53 2019 +0200
+++ b/account.py Fri Apr 12 23:00:02 2019 +0200
@@ -251,7 +251,7 @@
for kind in types:
parties = types[kind]['parties']
others = Line.search([
- ('account.type.' + kind, '=', reverse[kind]),
+ ('account.type.' + reverse[kind], '=', True),
('party', 'in', [p.id for p in parties]),
('reconciliation', '=', None),
('payment_amount', '!=', 0),