[FIX] hr: allow translating job offers
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ class hr_job(osv.Model):
|
||||
_description = "Job Position"
|
||||
_inherit = ['mail.thread']
|
||||
_columns = {
|
||||
'name': fields.char('Job Name', required=True, select=True),
|
||||
'name': fields.char('Job Name', required=True, select=True, translate=True),
|
||||
'expected_employees': fields.function(_get_nbr_employees, string='Total Forecasted Employees',
|
||||
help='Expected number of employees for this job position after new recruitment.',
|
||||
store = {
|
||||
|
||||
@@ -18,5 +18,5 @@ class hr_job(osv.osv):
|
||||
return super(hr_job, self).job_open(cr, uid, ids, context)
|
||||
|
||||
_columns = {
|
||||
'website_description': fields.html('Website description'),
|
||||
'website_description': fields.html('Website description', translate=True),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user