changeset 815fa17146b7 in modules/stock_lot_unit:default
details: 
https://hg.tryton.org/modules/stock_lot_unit?cmd=changeset&node=815fa17146b7
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 aa31584e1e63 -r 815fa17146b7 stock.py
--- a/stock.py  Mon Aug 30 00:27:14 2021 +0200
+++ b/stock.py  Thu Sep 23 23:12:35 2021 +0200
@@ -11,7 +11,7 @@
 
 
 class LotUnitMixin:
-
+    __slots__ = ()
     unit = fields.Many2One(
         'product.uom', "Unit",
         domain=[

Reply via email to