details:   https://code.tryton.org/tryton/commit/48eb73532d4c
branch:    6.0
user:      Cédric Krier <[email protected]>
date:      Sat Jan 17 12:53:33 2026 +0100
description:
        Always return a date for tax date of TaxableMixin

        Closes #14486
        (grafted from b2ab8b67ca33fe466bc1be9712de08ec26d6ea80)
diffstat:

 modules/account_invoice/invoice.py |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 3e5b25427f3f -r 48eb73532d4c modules/account_invoice/invoice.py
--- a/modules/account_invoice/invoice.py        Fri Jan 16 12:11:35 2026 +0100
+++ b/modules/account_invoice/invoice.py        Sat Jan 17 12:53:33 2026 +0100
@@ -2119,6 +2119,8 @@
             return self.taxes_date
         elif hasattr(self, 'invoice') and hasattr(self.invoice, 'tax_date'):
             return self.invoice.tax_date
+        else:
+            return super().tax_date
 
     def _get_tax_context(self):
         if self.invoice:

Reply via email to