summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-01-16 13:22:47 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-01-16 13:22:47 +0700
commit09cfa10a6ac0335b4342665707269cc5aa7bbcf8 (patch)
treeb6f985985e5fe0ee16963185ab5bcac9974c980f
parentf0caad5740ae914391dbe7650977c00df2379f52 (diff)
revert
-rw-r--r--indoteknik_custom/models/stock_picking.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index d19214d2..84a374c5 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -145,10 +145,8 @@ class StockPicking(models.Model):
continue
raise UserError('Sudah pernah dikirim kalender')
- is_delivered_validation = self.env['ir.config_parameter'].get_param(
- 'stock_picking.qty_delivered_validation')
for line in self.move_line_ids_without_package:
- if line.move_id.sale_line_id and self.picking_type_id.code == 'outgoing' and is_delivered_validation == 'Y':
+ if line.move_id.sale_line_id and self.picking_type_id.code == 'outgoing':
if line.move_id.sale_line_id.qty_delivered + line.qty_done > line.move_id.sale_line_id.product_uom_qty:
raise UserError("Qty Delivered akan lebih dari Qty SO")