diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-21 15:51:25 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2026-01-21 15:51:25 +0700 |
| commit | e57e34a96a46e18f43e25c0bcb441f8ab115b0ec (patch) | |
| tree | 3545346128648aa6d1bf56db0624202999393945 | |
| parent | 0b47aff657ff0c2fa3506fb70f0b41a239ec1384 (diff) | |
push
| -rwxr-xr-x | fixco_custom/models/stock_picking.py | 2 |
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")) |
