Prevent assign unknown attributes on Model

by adding __slots__ on proteus classes.

issue6573
review254081002
This commit is contained in:
Cédric Krier
2019-09-07 23:38:20 +02:00
parent 707f625b89
commit caaef2ba7a
@@ -74,7 +74,6 @@ Create subscription service::
>>> template.default_uom = unit
>>> template.type = 'service'
>>> template.list_price = Decimal('10')
>>> template.account_revenue = revenue
>>> template.save()
>>> product, = template.products