diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-06 08:55:23 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-06 08:55:23 +0700 |
| commit | 71dd0102df8cc3831a3c13d4bc0f430b061d1094 (patch) | |
| tree | 9a563ec9bee53866da98cc30de358d1210248fc3 /indoteknik_custom/models/purchase_order.py | |
| parent | 9f9081714356e87500ab05bc5a294e9ca9e526fe (diff) | |
| parent | c42bdba2996d85d328897e42e7a1d86001b3a14d (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into odoo-backup
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 |
