From b31101304bf58fc164fd6fc16c9f66ef580da710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 23 Sep 2021 23:12:35 +0200 Subject: [PATCH] Ensure that objects in the Pool has __slots__ issue10719 review375361002 --- shipment.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shipment.py b/shipment.py index 54e23bb1d5..d0534a1435 100644 --- a/shipment.py +++ b/shipment.py @@ -21,6 +21,7 @@ from trytond.modules.company.model import employee_field, set_employee class ShipmentMixin: + __slots__ = () @classmethod def view_attributes(cls): @@ -30,6 +31,7 @@ class ShipmentMixin: class ShipmentAssignMixin(ShipmentMixin): + __slots__ = () _assign_moves_field = None partially_assigned = fields.Function(