From 8f21148e1a8eaae3bc09ec54377becb2361e7834 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Fri, 31 May 2019 05:40:31 +0000 Subject: [PATCH] [FIX] hr_contract: contract type name Make the contract type name translatable. opw-2003957 closes odoo/odoo#33781 Signed-off-by: Nicolas Martinelli (nim) --- addons/hr_contract/models/hr_contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_contract/models/hr_contract.py b/addons/hr_contract/models/hr_contract.py index bb30f94856e..9ba7bb4af36 100644 --- a/addons/hr_contract/models/hr_contract.py +++ b/addons/hr_contract/models/hr_contract.py @@ -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)