消息提醒
This commit is contained in:
@@ -25,7 +25,8 @@ class SFMessageStockPicking(models.Model):
|
||||
super(SFMessageStockPicking, self)._compute_state()
|
||||
try:
|
||||
for record in self:
|
||||
if record.state == 'assigned' and record.picking_type_id.sequence_code == 'PC':
|
||||
if (record.state == 'assigned' and record.picking_type_id.sequence_code == 'PC'
|
||||
and record.product_id.categ_id.type == '坯料'):
|
||||
record.add_queue('坯料发料提醒')
|
||||
|
||||
if record.picking_type_id.sequence_code == 'SFP' and record.state == 'done':
|
||||
|
||||
Reference in New Issue
Block a user