成品委外,坯料自加工的制造排程单生成

This commit is contained in:
胡尧
2024-11-27 15:02:42 +08:00
parent 56cfeac214
commit df146a4b58
2 changed files with 12 additions and 12 deletions

View File

@@ -884,7 +884,7 @@ class ResProductMo(models.Model):
'model_process_parameters_ids': [(6, 0, [])] if not item.get(
'process_parameters_code') else self.get_process_parameters_id(item['process_parameters_code']),
'model_remark': item['remark'],
'single_manufacturing': True,
'single_manufacturing': False,
'default_code': '%s-%s' % (order_number, i),
'manual_quotation': item['manual_quotation'] or False,
'part_number': item.get('part_number') or '',