diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-06-16 10:59:35 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-06-16 10:59:35 +0700 |
| commit | 9b6aa67f911a0db8d466d2f63cf1d8ce43ab8e14 (patch) | |
| tree | 47cf2698320b90be4a48b088330454c934c42919 | |
| parent | ac3e99d4d7e1fd21aa146d621a06b42df86e3f7b (diff) | |
(andri) fix autoset checkout SO custom
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 39b74069..0662522f 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -2755,7 +2755,8 @@ class SaleOrder(models.Model): continue # Skip jika Self Pick Up - if order.carrier_id and order.carrier_id.id == 32: + if int(order.carrier_id.id or 0) == 32: + _logger.info(f"[Checkout] Skip estimasi: Self Pickup untuk SO {order.name}") order.select_shipping_option = 'custom' continue |
