diff --git a/cor_custom/models/__pycache__/project.cpython-36.pyc b/cor_custom/models/__pycache__/project.cpython-36.pyc index d932a21..a02db2e 100644 Binary files a/cor_custom/models/__pycache__/project.cpython-36.pyc and b/cor_custom/models/__pycache__/project.cpython-36.pyc differ diff --git a/cor_custom/models/project.py b/cor_custom/models/project.py index 67ccf76..5d7236c 100755 --- a/cor_custom/models/project.py +++ b/cor_custom/models/project.py @@ -31,7 +31,7 @@ class InheritProjectProductEmployeeMap(models.Model): employee_price = fields.Float("Consultant Price") budgeted_qty = fields.Float(string='Budgeted qty', related='sale_line_id.product_uom_qty', readonly=True) budgeted_uom = fields.Many2one('uom.uom', string='Budgeted UOM', related='sale_line_id.product_uom', readonly=True) - timesheet_hour = fields.Float("Timesheet Hour", compute='_compute_timesheet_hour') + timesheet_hour = fields.Float("Timesheet Hour", compute='_compute_timesheet_hour', default=0.0) def _compute_timesheet_hour(self): for val in self: