质检单类型翻译

This commit is contained in:
liaodanlong
2024-10-23 17:03:16 +08:00
parent 7e6fa7b6c7
commit add7d404a0
4 changed files with 38 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ class TestType(models.Model):
_description = "Quality Control Test Type"
# Used instead of selection field in order to hide a choice depending on the view.
name = fields.Char('Name', required=True)
name = fields.Char('Name', required=True,translate=True)
technical_name = fields.Char('Technical name', required=True)
active = fields.Boolean('active', default=True)