details:   https://code.tryton.org/tryton/commit/d1b86d1b43cc
branch:    8.2
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 709c4486a7a5 -r d1b86d1b43cc 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
@@ -239,7 +239,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