From 56d2ba4f8528f3a2f35f7da1b44ab218f9563923 Mon Sep 17 00:00:00 2001 From: Prakash Prajapati Date: Tue, 15 Nov 2022 05:11:21 +0000 Subject: [PATCH] [REM] sale_timesheet: remove the allocated hours compute method in project task-2955983 closes odoo/odoo#105730 Signed-off-by: Xavier Bol (xbo) --- addons/sale_timesheet/models/project.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/addons/sale_timesheet/models/project.py b/addons/sale_timesheet/models/project.py index d3885e371a2..0110f06f520 100644 --- a/addons/sale_timesheet/models/project.py +++ b/addons/sale_timesheet/models/project.py @@ -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')