Fix search of revserse kind of line
issue8213
This commit is contained in:
1 parent
942baf03be
commit
254ca25617
1 file changed
+1
-1
+1
-1
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user