summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-12-05 13:52:03 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-12-05 13:52:03 +0700
commit48ad2e6fa61fa34299a029a61e8a24943365bdbb (patch)
treed32f4703bc8b5263f449a72d3a07f757cbd87ec8
parent3e6b4e703abd418301ebbedda6369f85ce097064 (diff)
temporary comment
-rw-r--r--indoteknik_custom/models/stock_picking.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/stock_picking.py b/indoteknik_custom/models/stock_picking.py
index 84a374c5..50f11e57 100644
--- a/indoteknik_custom/models/stock_picking.py
+++ b/indoteknik_custom/models/stock_picking.py
@@ -126,8 +126,8 @@ class StockPicking(models.Model):
if not self.picking_code:
self.picking_code = self.env['ir.sequence'].next_by_code('stock.picking.code') or '0'
- if self.picking_type_id.code == 'incoming' and self.group_id.id == False and self.is_internal_use == False:
- raise UserError(_('Tidak bisa Validate jika tidak dari Document SO / PO'))
+ # if self.picking_type_id.code == 'incoming' and self.group_id.id == False and self.is_internal_use == False:
+ # raise UserError(_('Tidak bisa Validate jika tidak dari Document SO / PO'))
if self.is_internal_use and not self.env.user.is_accounting:
raise UserError("Harus di Approve oleh Accounting")