Fix search of revserse kind of line

issue8213
This commit is contained in:
Cédric Krier committed 2019-04-12 23:00:02 +02:00
1 parent 942baf03be
commit 254ca25617
1 file changed
+1 -1
+1 -1
View File
@@ -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),