diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-10-15 09:38:46 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-10-15 09:38:46 +0700 |
| commit | 4502ebb5452b150b5e36175bb7900bace760e9f4 (patch) | |
| tree | 17990adaedb5889e4794c6715cfd888524e15361 | |
| parent | 60dfef625548cf7e8cdaa8fdfd76238f208790e7 (diff) | |
push fix bug
| -rw-r--r-- | indoteknik_custom/models/sale_order_line.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
