details:   https://code.tryton.org/tryton/commit/60ea2edb665e
branch:    7.8
user:      Cédric Krier <[email protected]>
date:      Tue Oct 27 14:36:00 2026 +0100
description:
        Yield the total amount of the grouped taxes for UBL invoice

        Closes #15195
        (grafted from 0eef99d4dcbe85007e30bd69e4ff17dd55b4f70f)
diffstat:

 modules/edocument_ubl/edocument.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 033cd875bcd8 -r 60ea2edb665e modules/edocument_ubl/edocument.py
--- a/modules/edocument_ubl/edocument.py        Tue Oct 20 17:54:30 2026 +0200
+++ b/modules/edocument_ubl/edocument.py        Tue Oct 27 14:36:00 2026 +0100
@@ -214,7 +214,7 @@
                     base += line.base
                     amount += line.amount
                 tax_lines.append(TaxLine(base=base, amount=amount, tax=tax))
-            yield group, tax_lines, amount
+            yield group, tax_lines, tax_amount
 
     def _taxes_key(self, line):
         return ()

Reply via email to