summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/purchase_order.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-08-13 09:48:41 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-08-13 09:48:41 +0700
commit7644260c8b660c71aa1f9232cb50acea551798c2 (patch)
treebdbad5e360bd7d638b340c6d96d19dc8c7912d00 /indoteknik_custom/models/purchase_order.py
parentd1e55b12466b6c93cc4a3e23dab59d3ce3795d45 (diff)
parenta2d087032e5b14901f4128c81b58143bcff4286f (diff)
<hafid> merging odoo-backup
Diffstat (limited to 'indoteknik_custom/models/purchase_order.py')
-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