summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-08-05 14:42:35 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-08-05 14:42:35 +0700
commit2d7aaf7fe387dd778731a2058dbe3210407ad803 (patch)
tree7528ba7416f91337102b34eecdef47d9736b6836
parent9a94ae612d22a0dc329649e610810e7d9b6c3112 (diff)
deactive redirect bu related
-rwxr-xr-xindoteknik_custom/models/purchase_order.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py
index 27aca0d1..103a9131 100755
--- a/indoteknik_custom/models/purchase_order.py
+++ b/indoteknik_custom/models/purchase_order.py
@@ -1083,9 +1083,9 @@ class PurchaseOrder(models.Model):
# Tambahan: redirect ke BU hanya untuk single PO yang berhasil dikonfirmasi
_logger.info("Jumlah PO: %s | State: %s", len(self), self.state)
- if len(self) == 1:
- _logger.info("Redirecting ke BU")
- return self.action_view_related_bu()
+ # if len(self) == 1:
+ # _logger.info("Redirecting ke BU")
+ # return self.action_view_related_bu()
return res