changeset 025a569ba53f in modules/stock_package_shipping_ups:default
details: 
https://hg.tryton.org/modules/stock_package_shipping_ups?cmd=changeset&node=025a569ba53f
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 43e64de93efb -r 025a569ba53f stock.py
--- a/stock.py  Thu Sep 23 10:06:16 2021 +0200
+++ b/stock.py  Thu Sep 23 23:12:35 2021 +0200
@@ -98,6 +98,7 @@
 
 
 class ShippingUPSMixin:
+    __slots__ = ()
 
     def validate_packing_ups(self):
         warehouse = self.shipping_warehouse

Reply via email to