From e21733b26af28df9d58dc1d7666f96d628bde116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 7 Sep 2019 23:45:08 +0200 Subject: [PATCH] Prevent assign unknown attributes on Model by adding __slots__ on PoolMeta issue8567 review254091002 --- account.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account.py b/account.py index d343bc82b1..db16c1a7b9 100644 --- a/account.py +++ b/account.py @@ -122,6 +122,7 @@ class ConfigurationAssetDate(ModelSQL, CompanyValueMixin): def AccountTypeMixin(template=False): class Mixin: + __slots__ = () fixed_asset = fields.Boolean( "Fixed Asset", domain=[