[IMP] hr_timesheet: Rename file according to guidelines

This commit is contained in:
Yannick Tivisse
2019-05-31 10:21:21 +02:00
parent 3970edc2c3
commit e03baa3b74
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import hr
from . import hr_employee
from . import hr_timesheet
from . import ir_http
from . import res_company
@@ -7,5 +7,6 @@ from odoo import fields, models
class HrEmployee(models.Model):
_inherit = 'hr.employee'
timesheet_cost = fields.Monetary('Timesheet Cost', currency_field='currency_id', default=0.0)
timesheet_cost = fields.Monetary('Timesheet 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)