Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes. issue6573 review254081002
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user