Prevent assign unknown attributes on Model

by adding __slots__ on proteus classes.

issue6573
review254081002
This commit is contained in:
Cédric Krier committed 2019-09-07 23:38:20 +02:00
1 parent 6645dc7a5c
commit 031c217e27
1 file changed
-1
-1
View File
@@ -88,7 +88,6 @@ Create product::
>>> template.name = 'product'
>>> template.default_uom = unit
>>> template.type = 'goods'
>>> template.purchasable = True
>>> template.salable = True
>>> template.list_price = Decimal('10')
>>> template.account_category = account_category_tax