2018-01-16 06:58:15 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
2018-01-16 11:34:37 +01:00
|
|
|
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
|
2018-01-16 06:58:15 +01:00
|
|
|
|
2018-01-16 11:34:37 +01:00
|
|
|
from flectra import fields, models
|
2018-01-16 06:58:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
class HrEmployee(models.Model):
|
|
|
|
_inherit = 'hr.employee'
|
|
|
|
|
|
|
|
# FIXME: this field should be in module hr_timesheet, not sale_timesheet
|
|
|
|
timesheet_cost = fields.Monetary('Timesheet Cost', currency_field='currency_id', default=0.0)
|
|
|
|
currency_id = fields.Many2one('res.currency', related='company_id.currency_id', readonly=True)
|