[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:
Nicolas Martinelli
2019-05-31 05:41:25 +00:00
parent 29762514ae
commit 8f21148e1a
+1 -1
View File
@@ -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)