summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2026-02-04 15:55:21 +0700
committerFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2026-02-04 15:55:21 +0700
commit26713fca51335e68f737c171b8de918c8192ea8d (patch)
tree9ad86c14facd1e0103a5ba1bcd02a16c9b1fd959
parent983fa2ec6b13f4005f4e27e7b7860503c4823f8e (diff)
fix
-rwxr-xr-xindoteknik_custom/models/purchase_order.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py
index a066d90b..b3ecca56 100755
--- a/indoteknik_custom/models/purchase_order.py
+++ b/indoteknik_custom/models/purchase_order.py
@@ -1085,7 +1085,7 @@ class PurchaseOrder(models.Model):
price_change_detected = any(line.price_unit_before for line in self.order_line)
if price_change_detected:
if self.order_sales_match_line:
- if self.total_percent_margin <= 25.0:
+ if self.total_percent_margin <= 15.0:
raise UserError("Approval Pimpinan diperlukan jika terdapat perubahan Unit Price pada PO Line dan Memiliki Margin <= 15%")
self._check_assets_note()