From 9b6aa67f911a0db8d466d2f63cf1d8ce43ab8e14 Mon Sep 17 00:00:00 2001 From: "Indoteknik ." Date: Mon, 16 Jun 2025 10:59:35 +0700 Subject: (andri) fix autoset checkout SO custom --- indoteknik_custom/models/sale_order.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3