changeset 63536731b00b in modules/project_invoice:default
details:
https://hg.tryton.org/modules/project_invoice?cmd=changeset&node=63536731b00b
description:
Ensure that objects in the Pool has __slots__
issue10719
review375361002
diffstat:
project.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 900420d1976e -r 63536731b00b project.py
--- a/project.py Sat Aug 21 09:09:55 2021 +0200
+++ b/project.py Thu Sep 23 23:12:35 2021 +0200
@@ -27,6 +27,7 @@
class Effort:
+ __slots__ = ()
@classmethod
def __setup__(cls):
@@ -91,7 +92,7 @@
class Progress:
-
+ __slots__ = ()
invoiced_progress = fields.One2Many('project.work.invoiced_progress',
'work', 'Invoiced Progress', readonly=True)
@@ -208,7 +209,7 @@
class Timesheet:
-
+ __slots__ = ()
project_invoice_timesheet_up_to = fields.Date(
"Invoice up to",
states={