From a01f05f50dd852e76b44709259e8baaf33e4b462 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Tue, 27 May 2025 10:35:08 +0700 Subject: push --- indoteknik_custom/models/shipment_group.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indoteknik_custom/models/shipment_group.py') diff --git a/indoteknik_custom/models/shipment_group.py b/indoteknik_custom/models/shipment_group.py index 87d222a6..2d84d54c 100644 --- a/indoteknik_custom/models/shipment_group.py +++ b/indoteknik_custom/models/shipment_group.py @@ -19,10 +19,10 @@ class ShipmentGroup(models.Model): def sync_api_shipping(self): for rec in self.shipment_line: - if rec.shipment_id.carrier_id == 173: + if rec.shipment_id.carrier_id.id == 173: rec.picking_id.action_get_kgx_pod() - if rec.shipment_id.carrier_id == 151: + if rec.shipment_id.carrier_id.id == 151: rec.picking_id.track_envio_shipment() @api.depends('shipment_line.total_colly') -- cgit v1.2.3