新增采购入库时实时注册夹具产品到cloud
This commit is contained in:
@@ -276,7 +276,8 @@ class StockPicking(models.Model):
|
||||
if picking_out.state != 'done':
|
||||
raise UserError(
|
||||
_('该入库单对应的单号为%s的出库单还未完成,不能进行验证操作!' % picking_out.name))
|
||||
|
||||
# 采购单验证(夹具和刀具)
|
||||
if self.product_id.categ_type in ['刀具', '夹具']:
|
||||
res = super().button_validate()
|
||||
return res
|
||||
|
||||
|
||||
Reference in New Issue
Block a user