工单修改

This commit is contained in:
jinling.yang
2022-12-12 16:52:58 +08:00
parent aa25e5b931
commit 70b7aa4c0f
2 changed files with 7 additions and 6 deletions

View File

@@ -243,7 +243,8 @@ class ResMrpWorkOrder(models.Model):
'machining_precision': cnc.product_id.model_machining_precision,
'embryo_long': cnc.product_id.bom_ids.bom_line_ids.product_id.length,
'embryo_height': cnc.product_id.bom_ids.bom_line_ids.product_id.height,
'embryo_width': cnc.product_id.bom_ids.bom_line_ids.product_id.width
'embryo_width': cnc.product_id.bom_ids.bom_line_ids.product_id.width,
'order_no': cnc.production_id.origin
# 'factory_code': self.env.user.company_id.partner_id.
}
logging.info('res:%s' % res)