changeset 431dc6714e7d in modules/purchase_invoice_line_standalone:default
details:
https://hg.tryton.org/modules/purchase_invoice_line_standalone?cmd=changeset;node=431dc6714e7d
description:
Prevent assign unknown attributes on Model
by adding __slots__ on proteus classes.
issue6573
review254081002
diffstat:
tests/scenario_purchase_invoice_line_standalone.rst | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diffs (11 lines):
diff -r c4e66dae17b8 -r 431dc6714e7d
tests/scenario_purchase_invoice_line_standalone.rst
--- a/tests/scenario_purchase_invoice_line_standalone.rst Mon May 06
15:09:34 2019 +0200
+++ b/tests/scenario_purchase_invoice_line_standalone.rst Sat Sep 07
23:38:20 2019 +0200
@@ -80,7 +80,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