changeset 65dc472de9c4 in modules/account:default
details: https://hg.tryton.org/modules/account?cmd=changeset;node=65dc472de9c4
description:
        Remove currency property from TaxableMixin

        This property prevents from adding the mixin to an existing Model which 
have
        already a currency field (like web_shop_vue_storefront module does on
        sale.line).
diffstat:

 tax.py |  5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diffs (15 lines):

diff -r 72bfbca78289 -r 65dc472de9c4 tax.py
--- a/tax.py    Fri Oct 09 21:42:41 2020 +0200
+++ b/tax.py    Mon Oct 12 22:54:02 2020 +0200
@@ -1093,11 +1093,6 @@
         return []
 
     @property
-    def currency(self):
-        "The currency used by the taxable object"
-        return None
-
-    @property
     def tax_date(self):
         "Date to use when computing the tax"
         pool = Pool()

Reply via email to