mirror of
https://github.com/NaN-tic/trytond-stock_origin.git
synced 2023-12-13 21:30:34 +01:00
Ensure that objects in the Pool has __slots__
issue10719
This commit is contained in:
parent
6fccb1bd97
commit
9ee12d2ff0
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue