1、表面工艺添加按类型筛选功能;2、夹具产品的类型、规格添加必填
This commit is contained in:
@@ -830,7 +830,7 @@ class FunctionalToolAssembly(models.Model):
|
||||
code = fields.Char('功能刀具编码', readonly=True)
|
||||
rfid = fields.Char('Rfid', readonly=True)
|
||||
tool_groups_id = fields.Many2one('sf.tool.groups', '刀具组', readonly=True)
|
||||
name = fields.Char(string='名称', readonly=True, compute='_compute_name')
|
||||
name = fields.Char(string='名称', readonly=True, compute='_compute_name', store=True)
|
||||
assembly_order_code = fields.Char(string='组装单编码', readonly=True)
|
||||
|
||||
functional_tool_name_id = fields.Many2one('product.product', string='功能刀具', readonly=True)
|
||||
|
||||
Reference in New Issue
Block a user