summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-08-27 13:42:55 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-08-27 13:42:55 +0700
commitd776b60f89f827d2dc49df80d7852f98c820985f (patch)
tree2a65bffd0d7d43898d8adaff486d1dbefdf647b1
parent857fbbf8a46c9b933bd3fb13d274fbed2f3fea39 (diff)
deactivate function check data vendor on po
-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 3a11ab1e..8ec904a9 100755
--- a/indoteknik_custom/models/purchase_order.py
+++ b/indoteknik_custom/models/purchase_order.py
@@ -435,7 +435,7 @@ class PurchaseOrder(models.Model):
res = super(PurchaseOrder, self).button_confirm()
current_time = datetime.now()
self.check_ppn_mix()
- self.check_data_vendor()
+ # self.check_data_vendor()
if self.total_percent_margin < self.total_so_percent_margin and not self.env.user.is_purchasing_manager and not self.env.user.is_leader:
raise UserError("Beda Margin dengan Sales, harus approval Manager")