Merge branch 'develop' of https://e.coding.net/jikimo-hn/jikimo_sfs/jikimo_sf into feature/优化最新版返工
# Conflicts: # sf_manufacturing/models/mrp_production.py
This commit is contained in:
@@ -137,7 +137,7 @@ class MrpProduction(models.Model):
|
||||
wo.test_results == '返工' and wo.state == 'done' and production.programming_state == '已编程') or (
|
||||
wo.state == 'rework' and production.programming_state == '编程中') or (
|
||||
wo.is_rework is True and wo.state == 'done' and production.programming_state in ['编程中',
|
||||
'已编程'])
|
||||
'已编程'])
|
||||
for wo in
|
||||
production.workorder_ids):
|
||||
production.state = 'rework'
|
||||
|
||||
Reference in New Issue
Block a user