summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-09-12 10:53:10 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-09-12 10:53:10 +0700
commitfdd67910ef7d4dd66803d09a7c49b1c3faabdd18 (patch)
treebc77f5382367596d846e357260be4b70adadc4ac
parenta8e539c92236453ce7aad06d23cf117f4b7239fc (diff)
deactivate function update_purchase_price_so_line
-rw-r--r--indoteknik_custom/models/automatic_purchase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/automatic_purchase.py b/indoteknik_custom/models/automatic_purchase.py
index 1d1322fa..13c83b04 100644
--- a/indoteknik_custom/models/automatic_purchase.py
+++ b/indoteknik_custom/models/automatic_purchase.py
@@ -262,7 +262,7 @@ class AutomaticPurchase(models.Model):
new_po_line = self.env['purchase.order.line'].create([param_line])
line.current_po_id = new_po.id
line.current_po_line_id = new_po_line.id
- self.update_purchase_price_so_line(line)
+ # self.update_purchase_price_so_line(line)
self.create_purchase_order_sales_match(new_po)