changeset 38f6f7156345 in modules/stock_lot_sled:default
details: 
https://hg.tryton.org/modules/stock_lot_sled?cmd=changeset&node=38f6f7156345
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 02912058674d -r 38f6f7156345 stock.py
--- a/stock.py  Sun Jul 04 17:54:48 2021 +0200
+++ b/stock.py  Thu Sep 23 23:12:35 2021 +0200
@@ -46,7 +46,7 @@
 
 
 class LotSledMixin:
-
+    __slots__ = ()
     shelf_life_expiration_date = fields.Date('Shelf Life Expiration Date',
         states={
             'required': (

Reply via email to