summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_order.py
diff options
context:
space:
mode:
authorHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-09 09:12:11 +0700
committerHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-09 09:12:11 +0700
commitd91af3da1edea3c6b8074726e5306ea42a7c0a4b (patch)
treea6151be9861950b004851db6cc69159b3a101a93 /indoteknik_custom/models/purchase_order.py
parentf687d197ead268040d7f396eb26ea0035a6dac35 (diff)
parenta637972fca56a9f2e62636f7639cf27de033b248 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into CR/Sourcing-Job
Diffstat (limited to 'indoteknik_custom/models/purchase_order.py')
-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