Add issue12590.diff [account_payment] Do not test active clause of dunning being in a set
This commit is contained in:
parent
344d6aaddb
commit
aa91b072f1
|
@ -0,0 +1,16 @@
|
|||
diff --git a/tryton/modules/account_payment/account.py b/tryton/modules/account_payment/account.py
|
||||
index 112c8e1f2c..3a5b860aec 100644
|
||||
--- a/tryton/modules/account_payment/account.py
|
||||
+++ b/tryton/modules/account_payment/account.py
|
||||
@@ -699,9 +699,9 @@ class Dunning(metaclass=PoolMeta):
|
||||
|
||||
@classmethod
|
||||
def search_active(cls, name, clause):
|
||||
- if tuple(clause[1:]) in {('=', True), ('!=', False)}:
|
||||
+ if tuple(clause[1:]) in [('=', True), ('!=', False)]:
|
||||
domain = ('line.payment_amount', '>', 0)
|
||||
- elif tuple(clause[1:]) in {('=', False), ('!=', True)}:
|
||||
+ elif tuple(clause[1:]) in [('=', False), ('!=', True)]:
|
||||
domain = ('line.payment_amount', '<=', 0)
|
||||
else:
|
||||
domain = []
|
2
series
2
series
|
@ -59,3 +59,5 @@ issue7677.diff # [trytond] Do not set rec_name for unsaved record
|
|||
issue7672.diff # [stock] Always fill product and template of cost price revision
|
||||
|
||||
issue12570.diff # [account] Do not compute account party for general ledger line without party
|
||||
|
||||
issue12590.diff # [account_payment] Do not test active clause of dunning being in a set
|
||||
|
|
Loading…
Reference in New Issue