changeset a1316a51f3e3 in modules/sale_price_list:default
details:
https://hg.tryton.org/modules/sale_price_list?cmd=changeset;node=a1316a51f3e3
description:
Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes.
issue6573
review254081002
diffstat:
tests/scenario_sale_price_list.rst | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diffs (11 lines):
diff -r 98034d452d8e -r a1316a51f3e3 tests/scenario_sale_price_list.rst
--- a/tests/scenario_sale_price_list.rst Mon Aug 19 18:46:34 2019 +0200
+++ b/tests/scenario_sale_price_list.rst Sat Sep 07 23:38:20 2019 +0200
@@ -87,7 +87,6 @@
>>> 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