需求计划开发
This commit is contained in:
@@ -173,6 +173,7 @@ class SfDemandPlan(models.Model):
|
||||
status_line = line.line_ids.filtered(lambda p: p.status == '60')
|
||||
if line.sale_order_id.state == 'cancel':
|
||||
line.state = '50'
|
||||
line.line_ids.status = '100'
|
||||
elif len(line.line_ids) == len(status_line):
|
||||
line.state = '40'
|
||||
elif bool(status_line):
|
||||
|
||||
Reference in New Issue
Block a user