Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes. issue6573 review254081002
This commit is contained in:
1 parent
6ef3d7cf3b
commit
2dc2dae5b1
1 file changed
-1
@@ -82,7 +82,6 @@ Create product::
|
||||
>>> template.default_uom = unit
|
||||
>>> template.type = 'goods'
|
||||
>>> template.salable = True
|
||||
>>> template.delivery_time = 0
|
||||
>>> template.list_price = Decimal('20')
|
||||
>>> template.account_category = account_category
|
||||
>>> template.save()
|
||||
|
||||
Reference in new issue
Block a user