Accept Merge Request #1985: (feature/制造功能优化 -> develop)
Merge Request: 零件名称调为可写 Created By: @马广威 Accepted By: @马广威 URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/1985?initial=true
This commit is contained in:
@@ -130,7 +130,7 @@ class QualityPoint(models.Model):
|
|||||||
|
|
||||||
class QualityCheck(models.Model):
|
class QualityCheck(models.Model):
|
||||||
_inherit = "quality.check"
|
_inherit = "quality.check"
|
||||||
part_name = fields.Char('零件名称', related='product_id.part_name')
|
part_name = fields.Char('零件名称', related='product_id.part_name', readonly=False, store=True)
|
||||||
part_number = fields.Char('零件图号', related='product_id.part_number', readonly=False, store=True)
|
part_number = fields.Char('零件图号', related='product_id.part_number', readonly=False, store=True)
|
||||||
material_name = fields.Char('材料名称', compute='_compute_material_name')
|
material_name = fields.Char('材料名称', compute='_compute_material_name')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user