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 267a4867ce
commit b31101304b
1 file changed
+2
+2
View File
@@ -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(