[FIX] hr_contract: contract type name
Make the contract type name translatable. opw-2003957 closes odoo/odoo#33781 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
@@ -39,7 +39,7 @@ class ContractType(models.Model):
|
||||
_description = 'Contract Type'
|
||||
_order = 'sequence, id'
|
||||
|
||||
name = fields.Char(string='Contract Type', required=True)
|
||||
name = fields.Char(string='Contract Type', required=True, translate=True)
|
||||
sequence = fields.Integer(help="Gives the sequence when displaying a list of Contract.", default=10)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user