采购申请单完成操作优化

This commit is contained in:
guanhuan
2025-05-19 08:54:02 +08:00
parent 14700d6bf0
commit 52579673de
17 changed files with 134 additions and 11 deletions

View File

@@ -15,6 +15,7 @@ class sf_production_plan(models.Model):
# _order = 'state desc, write_date desc'
part_name = fields.Char('零件名称', related='product_id.part_name', readonly=True)
part_number = fields.Char('零件图号', related='product_id.part_number', readonly=True)
model_id = fields.Char('模型ID', related='product_id.model_id')
state = fields.Selection([
('draft', '待排程'),
('done', '已排程'),