From 52dd42b5878d934ca5bb39c42c5dc9a4f604dc1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 5 Apr 2025 19:42:30 +0200 Subject: [PATCH] Remove wrong classmethod decorator on compute_fields of timesheet line --- modules/timesheet_cost/timesheet.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/timesheet_cost/timesheet.py b/modules/timesheet_cost/timesheet.py index 215060ab2e..a146497a16 100644 --- a/modules/timesheet_cost/timesheet.py +++ b/modules/timesheet_cost/timesheet.py @@ -26,7 +26,6 @@ class Line(metaclass=PoolMeta): values.pop('cost_price', None) return values - @classmethod def compute_fields(self, field_names=None): values = super().compute_fields(field_names=field_names) cost_price = self.employee.compute_cost_price(date=self.date)