[REM] sale_timesheet: remove the allocated hours compute method in project

task-2955983

closes odoo/odoo#105730

Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
This commit is contained in:
Prakash Prajapati
2022-11-15 08:34:19 +01:00
parent a6ce0597c8
commit 56d2ba4f85
-5
View File
@@ -184,11 +184,6 @@ class Project(models.Model):
], limit=1)
project.sale_line_id = sol or project.sale_line_employee_ids.sale_line_id[:1] # get the first SOL containing in the employee mappings if no sol found in the search
@api.depends('sale_line_id.product_uom_qty', 'sale_line_id.product_uom')
def _compute_allocated_hours(self):
# TODO: remove in master
return
@api.depends('sale_line_employee_ids.sale_line_id', 'allow_billable')
def _compute_sale_order_count(self):
billable_projects = self.filtered('allow_billable')