changeset b59838c82090 in modules/stock_assign_manual:default
details: 
https://hg.tryton.org/modules/stock_assign_manual?cmd=changeset&node=b59838c82090
description:
        Ensure that objects in the Pool has __slots__

        issue10719
        review375361002
diffstat:

 stock.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 10762b77c03c -r b59838c82090 stock.py
--- a/stock.py  Mon Aug 30 00:27:14 2021 +0200
+++ b/stock.py  Thu Sep 23 23:12:35 2021 +0200
@@ -14,6 +14,7 @@
 
 class ShipmentUnassignMixin:
     '''Mixin to unassign quantity from assigned shipment moves'''
+    __slots__ = ()
 
     @dualmethod
     def unassign(cls, shipments, moves, quantities):

Reply via email to