changeset 4f87d78f6c8e in modules/account_invoice:default
details: 
https://hg.tryton.org/modules/account_invoice?cmd=changeset&node=4f87d78f6c8e
description:
        Always return list of taxes

        issue11005
        review377621002
diffstat:

 invoice.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 472b21a21870 -r 4f87d78f6c8e invoice.py
--- a/invoice.py        Thu Feb 03 23:13:26 2022 +0100
+++ b/invoice.py        Sat Feb 12 19:34:40 2022 +0100
@@ -2154,7 +2154,7 @@
         else:
             deductible_rate = 1
         return [(
-                getattr(self, 'taxes', None) or [],
+                list(getattr(self, 'taxes', None)) or [],
                 ((getattr(self, 'unit_price', None) or Decimal(0))
                     * deductible_rate),
                 getattr(self, 'quantity', None) or 0,

Reply via email to