diff --git a/sf_base/models/common.py b/sf_base/models/common.py index a6aaf0f8..7afefcea 100644 --- a/sf_base/models/common.py +++ b/sf_base/models/common.py @@ -79,6 +79,7 @@ class MrsMaterialModel(models.Model): active = fields.Boolean('有效', default=True) + class MrsProductionProcessCategory(models.Model): _name = 'sf.production.process.category' _description = '表面工艺类别' diff --git a/sf_dlm/views/product_template_view.xml b/sf_dlm/views/product_template_view.xml index fbc12cee..8c4ff1ae 100644 --- a/sf_dlm/views/product_template_view.xml +++ b/sf_dlm/views/product_template_view.xml @@ -51,10 +51,18 @@ attrs="{'invisible': ['|',('categ_type', '!=', '表面工艺'),('categ_type', '=', False)]}"/> - + + + + + + + + + + + + - +