From 4502ebb5452b150b5e36175bb7900bace760e9f4 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Wed, 15 Oct 2025 09:38:46 +0700 Subject: push fix bug --- indoteknik_custom/models/sale_order_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indoteknik_custom/models/sale_order_line.py b/indoteknik_custom/models/sale_order_line.py index f8fb898c..12e7e6f9 100644 --- a/indoteknik_custom/models/sale_order_line.py +++ b/indoteknik_custom/models/sale_order_line.py @@ -523,7 +523,7 @@ class SaleOrderLine(models.Model): if self.product_id.categ_id.id == 34: self.purchase_price = self.product_id.standard_price - self.purchase_tax_id = [(5, 0, 0)] # reset + self.purchase_tax_id = False # reset elif self.product_id.x_manufacture.override_vendor_id: price, taxes, vendor_id = self._get_purchase_price_by_vendor(self.product_id, self.vendor_id) self.purchase_price = price -- cgit v1.2.3