Prevent assign unknown attributes on Model

by adding __slots__ on PoolMeta

issue8567
review254091002
This commit is contained in:
Cédric Krier committed 2019-09-07 23:45:08 +02:00
1 parent 2877d89538
commit e21733b26a
1 file changed
+1
+1
View File
@@ -122,6 +122,7 @@ class ConfigurationAssetDate(ModelSQL, CompanyValueMixin):
def AccountTypeMixin(template=False):
class Mixin:
__slots__ = ()
fixed_asset = fields.Boolean(
"Fixed Asset",
domain=[