changeset c2e00420a021 in modules/account_statement_rule:5.8
details: 
https://hg.tryton.org/modules/account_statement_rule?cmd=changeset&node=c2e00420a021
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 06c20d6e2456 -r c2e00420a021 account.py
--- a/account.py        Fri Jan 01 16:22:46 2021 +0100
+++ 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