details:   https://code.tryton.org/tryton/commit/0eef99d4dcbe
branch:    default
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
diffstat:

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

diffs (12 lines):

diff -r 0c79fd6c2084 -r 0eef99d4dcbe 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