changeset 6cc4260323c6 in modules/purchase:default
details: https://hg.tryton.org/modules/purchase?cmd=changeset&node=6cc4260323c6
description:
        Do not recompute unit price when changing taxes

        issue6837
        review294921002
diffstat:

 purchase.py |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (14 lines):

diff -r 49aa55971c23 -r 6cc4260323c6 purchase.py
--- a/purchase.py       Sun Mar 21 16:09:13 2021 +0100
+++ b/purchase.py       Tue Mar 23 23:51:44 2021 +0100
@@ -1366,10 +1366,6 @@
     def on_change_unit(self):
         self.on_change_quantity()
 
-    @fields.depends(methods=['on_change_quantity'])
-    def on_change_taxes(self):
-        self.on_change_quantity()
-
     @fields.depends('description')
     def on_change_with_summary(self, name=None):
         return firstline(self.description or '')

Reply via email to