[FIX] sale_timesheet: adapt fields desciption to compute method deletion

In https://github.com/odoo/odoo/pull/105730,
we deleted `_compute_allocated_hours` method,
but it is still referenced in the description of field
`allocated_hours`. In this commit, we erase this reference.
And because it is not compute anymore, no need to specify
`store` and `readonly`.

closes odoo/odoo#116465

X-original-commit: 94f76339b6b15f60a33db5305d67a647c46c2caa
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
Signed-off-by: Audric Onockx (auon) <auon@odoo.com>
This commit is contained in:
Audric Onockx (auon)
2023-03-24 11:08:50 +01:00
parent 3ffc61f8fa
commit 53c128d492
+1 -1
View File
@@ -55,7 +55,7 @@ class Project(models.Model):
warning_employee_rate = fields.Boolean(compute='_compute_warning_employee_rate', compute_sudo=True)
partner_id = fields.Many2one(
compute='_compute_partner_id', store=True, readonly=False)
allocated_hours = fields.Float(compute='_compute_allocated_hours', store=True, readonly=False, copy=False)
allocated_hours = fields.Float(copy=False)
@api.model
def _get_view(self, view_id=None, view_type='form', **options):