changeset 7c198bad747f in modules/account_invoice:default
details: 
https://hg.tryton.org/modules/account_invoice?cmd=changeset&node=7c198bad747f
description:
        Add missing company in depends of _get_tax_context
diffstat:

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

diffs (12 lines):

diff -r 3cb315191181 -r 7c198bad747f invoice.py
--- a/invoice.py        Sat Apr 10 23:46:23 2021 +0200
+++ b/invoice.py        Sun Apr 11 18:08:27 2021 +0200
@@ -878,7 +878,7 @@
     def tax_date(self):
         return self.accounting_date or self.invoice_date
 
-    @fields.depends('party')
+    @fields.depends('party', 'company')
     def _get_tax_context(self):
         context = {}
         if self.party and self.party.lang:

Reply via email to