changeset 7956852db970 in modules/stock_lot_unit:default
details:
https://hg.tryton.org/modules/stock_lot_unit?cmd=changeset;node=7956852db970
description:
Prevent assign unknown attributes on Model
by adding __slots__ on PoolMeta
issue8567
review254091002
diffstat:
stock.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r b190056b1d9a -r 7956852db970 stock.py
--- a/stock.py Fri Aug 09 16:40:37 2019 +0200
+++ b/stock.py Sat Sep 07 23:45:08 2019 +0200
@@ -138,6 +138,7 @@
class LotUnitMixin(object):
+ __slots__ = ()
_lot_unit_moves = None
@classmethod