summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-04-14 11:19:41 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-04-14 11:19:41 +0700
commit17b8688b83b65b0c21034ffcc9e51baf1099618b (patch)
tree5fd83e66eabd3c1bcf3b995d9b5819c9f43d1b17
parent487772c771e72a77ae4d9e9c865d94d015f1ea5b (diff)
push
-rw-r--r--indoteknik_custom/models/stock_picking.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 558e13e6..2aca5003 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -978,17 +978,17 @@ class StockPicking(models.Model):
threshold_datetime = waktu(2025, 4, 11, 6, 26)
- if (len(self.konfirm_koli_lines) == 0
- and 'BU/OUT/' in self.name
- and self.picking_type_code == 'outgoing'
- and self.create_date > threshold_datetime):
- raise UserError(_("Tidak ada Mapping koli! Harap periksa kembali."))
-
- if (len(self.scan_koli_lines) == 0
- and 'BU/OUT/' in self.name
- and self.picking_type_code == 'outgoing'
- and self.create_date > threshold_datetime):
- raise UserError(_("Tidak ada scan koli! Harap periksa kembali."))
+ # if (len(self.konfirm_koli_lines) == 0
+ # and 'BU/OUT/' in self.name
+ # and self.picking_type_code == 'outgoing'
+ # and self.create_date > threshold_datetime):
+ # raise UserError(_("Tidak ada Mapping koli! Harap periksa kembali."))
+
+ # if (len(self.scan_koli_lines) == 0
+ # and 'BU/OUT/' in self.name
+ # and self.picking_type_code == 'outgoing'
+ # and self.create_date > threshold_datetime):
+ # raise UserError(_("Tidak ada scan koli! Harap periksa kembali."))
# if self.driver_departure_date == False and 'BU/OUT/' in self.name and self.picking_type_code == 'outgoing':
# raise UserError(_("Isi Driver Departure Date dulu sebelum validate"))