Ensure that objects in the Pool has __slots__
issue10719 review375361002
This commit is contained in:
1 parent
267a4867ce
commit
b31101304b
1 file changed
+2
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user