summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfixco_custom/models/stock_picking.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fixco_custom/models/stock_picking.py b/fixco_custom/models/stock_picking.py
index 3faa5e1..45757f2 100755
--- a/fixco_custom/models/stock_picking.py
+++ b/fixco_custom/models/stock_picking.py
@@ -396,6 +396,8 @@ class StockPicking(models.Model):
try:
now = time.strftime('%Y-%m-%d %H:%M:%S')
order_id = self.order_reference
+ if 'Blibli' in self.partner_id.name or 'BLIBLI' in self.partner_id.name:
+ order_id = self.order_reference.split(",")[0].strip()
# if not self.ginee_task_id and now > '2025-12-31 23:59:59':
# raise UserError(_("Klik Ready To Ship terlebih dahulu"))