Ensure that objects in the Pool has __slots__

issue10719
This commit is contained in:
Raimon Esteve 2021-09-27 13:44:18 +02:00
parent 6fccb1bd97
commit 9ee12d2ff0

View file

@ -8,7 +8,7 @@ __all__ = ['Move', 'ShipmentOut', 'ShipmentOutReturn']
class StockOriginMixin(object):
"Mixin Stock Origin"
__slots__ = ()
origin = fields.Function(fields.Reference(
'Origin', selection='get_origin'),
'get_origin_value')