changeset 787734083018 in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset&node=787734083018
description:
Ensure that objects in the Pool has __slots__
issue10719
review375361002
diffstat:
shipment.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 24a670b0fd66 -r 787734083018 shipment.py
--- a/shipment.py Thu Sep 02 23:19:36 2021 +0200
+++ b/shipment.py Thu Sep 23 23:12:35 2021 +0200
@@ -21,6 +21,7 @@
class ShipmentMixin:
+ __slots__ = ()
@classmethod
def view_attributes(cls):
@@ -30,6 +31,7 @@
class ShipmentAssignMixin(ShipmentMixin):
+ __slots__ = ()
_assign_moves_field = None
partially_assigned = fields.Function(