summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-17 13:40:39 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-17 13:40:39 +0700
commit66983246c83db072c62abba4a40a70e514b081d0 (patch)
tree3af36052e359d692f31bf9bccb336d1102d80409
parent7ba88682ecb9d1445f5565723adaf93106e056e2 (diff)
(andri) 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 b596f365..701c0a3f 100755
--- a/indoteknik_custom/models/purchase_order.py
+++ b/indoteknik_custom/models/purchase_order.py
@@ -1090,7 +1090,7 @@ class PurchaseOrder(models.Model):
self.check_different_vendor_so_po()
# self.check_data_vendor()
- if self.amount_untaxed >= 50000000 and not self.env.user.id == 21:
+ if self.amount_untaxed >= 50000000 and not self.env.user.id in (21, 7):
raise UserError("Hanya Rafly Hanggara yang bisa approve")
if not self.date_planned: