diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-08-06 09:25:09 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-08-06 09:25:09 +0700 |
| commit | 10d0e2bf639b31e58fd0d80a61062aa3ddc8f041 (patch) | |
| tree | fd92b9538c820e1419154a43f19bea1090d62465 /indoteknik_custom/models/purchase_order.py | |
| parent | fcd98b0f038cfa1653b8b12df77750253ebd7a68 (diff) | |
| parent | c42bdba2996d85d328897e42e7a1d86001b3a14d (diff) | |
<hafid> change delivered api
Diffstat (limited to 'indoteknik_custom/models/purchase_order.py')
| -rwxr-xr-x | indoteknik_custom/models/purchase_order.py | 6 |
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 |
