Prevent assign unknown attributes on Model
by adding __slots__ on PoolMeta issue8567 review254091002
This commit is contained in:
1 parent
2877d89538
commit
e21733b26a
1 file changed
+1
@@ -122,6 +122,7 @@ class ConfigurationAssetDate(ModelSQL, CompanyValueMixin):
|
||||
def AccountTypeMixin(template=False):
|
||||
|
||||
class Mixin:
|
||||
__slots__ = ()
|
||||
fixed_asset = fields.Boolean(
|
||||
"Fixed Asset",
|
||||
domain=[
|
||||
|
||||
Reference in new issue
Block a user