From 254ca2561732a2020aa07f4fb9952d49f4697e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 12 Apr 2019 23:00:02 +0200 Subject: [PATCH] Fix search of revserse kind of line issue8213 --- account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.py b/account.py index 122a2a32bf..3b4a6d37be 100644 --- a/account.py +++ b/account.py @@ -251,7 +251,7 @@ class PayLine(Wizard): 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),