[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:
Prakash Prajapati
2021-11-26 14:26:23 +00:00
parent 17e58758de
commit 972bd6b1d3
+1 -1
View File
@@ -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)