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

        issue10719
        review375361002
diffstat:

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

diffs (12 lines):

diff -r 0ea6339558a3 -r f360300abc2f stock.py
--- a/stock.py  Mon Aug 30 00:27:14 2021 +0200
+++ b/stock.py  Thu Sep 23 23:12:35 2021 +0200
@@ -51,7 +51,7 @@
 
 
 class LotMixin:
-
+    __slots__ = ()
     number = fields.Char(
         "Number", required=True, select=True,
         states={

Reply via email to