changeset 7753b8f821cf in modules/purchase:default
details: https://hg.tryton.org/modules/purchase?cmd=changeset;node=7753b8f821cf
description:
Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes.
issue6573
review254081002
diffstat:
tests/scenario_purchase.rst | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diffs (11 lines):
diff -r 3f2bc4045889 -r 7753b8f821cf tests/scenario_purchase.rst
--- a/tests/scenario_purchase.rst Sat Sep 07 23:13:33 2019 +0200
+++ b/tests/scenario_purchase.rst Sat Sep 07 23:38:20 2019 +0200
@@ -90,7 +90,6 @@
>>> template.default_uom = unit
>>> template.type = 'goods'
>>> template.purchasable = True
- >>> template.salable = True
>>> template.list_price = Decimal('10')
>>> template.cost_price_method = 'fixed'
>>> template.account_category = account_category_tax