summaryrefslogtreecommitdiff
path: root/indoteknik_custom
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2026-03-06 11:03:10 +0700
committerFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2026-03-06 11:03:10 +0700
commit1d61c5c2f29270d2d1e9c84e887e9c94416d9027 (patch)
treecf6baa10db472c158e8c291321b79d13b015f1b5 /indoteknik_custom
parent004ea4b603f6121b536c0639f4a5e1bc538eecd5 (diff)
fix
Diffstat (limited to 'indoteknik_custom')
-rwxr-xr-xindoteknik_custom/models/purchase_order.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py
index a345b96b..244575ae 100755
--- a/indoteknik_custom/models/purchase_order.py
+++ b/indoteknik_custom/models/purchase_order.py
@@ -1446,8 +1446,8 @@ class PurchaseOrder(models.Model):
send_email = True
break
- if self.partner_id.id == 5571 and not self.revisi_po:
- self.action_create_order_altama()
+ # if self.partner_id.id == 5571 and not self.revisi_po:
+ # self.action_create_order_altama()
if send_email:
if self.is_local_env():
@@ -1484,6 +1484,8 @@ class PurchaseOrder(models.Model):
# if len(self) == 1:
# _logger.info("Redirecting ke BU")
# return self.action_view_related_bu()
+ if self.partner_id.id == 5571 and not self.revisi_po:
+ self.action_create_order_altama()
return res