changeset 20b63de0252d in modules/account_statement_rule:6.0
details: 
https://hg.tryton.org/modules/account_statement_rule?cmd=changeset&node=20b63de0252d
description:
        Apply only first matching rule

        issue10403
        review363311002
        (grafted from 207a8365fe23dbb71445d1441b55ee44754caa37)
diffstat:

 account.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r cd17c88d4a7e -r 20b63de0252d account.py
--- a/account.py        Mon May 03 15:54:05 2021 +0200
+++ b/account.py        Fri May 14 17:34:18 2021 +0200
@@ -48,6 +48,7 @@
                 keywords = rule.match(origin)
                 if keywords:
                     yield from rule.apply(origin, keywords)
+                    break
 
 
 class StatementRule(sequence_ordered(), ModelSQL, ModelView):

Reply via email to