Ensure that objects in the Pool has __slots__

issue10719
review375361002
This commit is contained in:
Cédric Krier committed 2021-09-23 23:12:35 +02:00
1 parent 4847284f2c
commit 0e4d6a6348
1 file changed
+3 -2
+3 -2
View File
@@ -27,6 +27,7 @@ from .exceptions import InvoicingError
class Effort:
__slots__ = ()
@classmethod
def __setup__(cls):
@@ -91,7 +92,7 @@ class Effort:
class Progress:
__slots__ = ()
invoiced_progress = fields.One2Many('project.work.invoiced_progress',
'work', 'Invoiced Progress', readonly=True)
@@ -208,7 +209,7 @@ class Progress:
class Timesheet:
__slots__ = ()
project_invoice_timesheet_up_to = fields.Date(
"Invoice up to",
states={