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

        issue10719
        review375361002
diffstat:

 product.py |  2 +-
 web.py     |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 023ac0481f31 -r c980fe7b3ce8 product.py
--- a/product.py        Mon Sep 13 23:43:03 2021 +0200
+++ b/product.py        Thu Sep 23 23:12:35 2021 +0200
@@ -11,7 +11,7 @@
 
 
 class _ProductEntityMixin:
-
+    __slots__ = ()
     vsf_sku = fields.Function(
         fields.Char("SKU"), 'get_vsf_sku', searcher='search_vsf_sku')
 
diff -r 023ac0481f31 -r c980fe7b3ce8 web.py
--- a/web.py    Mon Sep 13 23:43:03 2021 +0200
+++ b/web.py    Thu Sep 23 23:12:35 2021 +0200
@@ -543,7 +543,7 @@
 
 
 class ShopVSFIdentifierMixin:
-
+    __slots__ = ()
     vsf_identifier = fields.Many2One(
         'web.shop.vsf_identifier',
         lazy_gettext('web_shop_vue_storefront.msg_vsf_identifier'),

Reply via email to