[IMP] hr_timesheet: rename the string of timesheet_cost field in employee
In this commit, the string of timesheet_cost field is cost instead of Timesheet Cost. task-2531442 closes odoo/odoo#79016 Related: odoo/enterprise#21900 Related: odoo/upgrade#2971 Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
@@ -7,6 +7,6 @@ from odoo import fields, models
|
||||
class HrEmployee(models.Model):
|
||||
_inherit = 'hr.employee'
|
||||
|
||||
timesheet_cost = fields.Monetary('Timesheet Cost', currency_field='currency_id',
|
||||
timesheet_cost = fields.Monetary('Cost', currency_field='currency_id',
|
||||
groups="hr.group_hr_user", default=0.0)
|
||||
currency_id = fields.Many2one('res.currency', related='company_id.currency_id', readonly=True)
|
||||
|
||||
Reference in New Issue
Block a user