summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-05-31 05:40:31 +0000
committerNicolas Martinelli <nim@odoo.com>2019-05-31 05:41:25 +0000
commit8f21148e1a8eaae3bc09ec54377becb2361e7834 (patch)
tree8076a615e3738ab542b9eb95ce68cfce0e66909a
parent29762514ae590f4853f804cd44359ce1dd2c75ec (diff)
[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>
-rw-r--r--addons/hr_contract/models/hr_contract.py2
1 files changed, 1 insertions, 1 deletions
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)