changeset 9fb71a2f5227 in modules/sale:default
details: https://hg.tryton.org/modules/sale?cmd=changeset;node=9fb71a2f5227
description:
        Prevent assign unknown attributes on Model

        by adding __slots__ on proteus classes.

        issue6573
        review254081002
diffstat:

 tests/scenario_sale.rst |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 4efb1ddcb3a3 -r 9fb71a2f5227 tests/scenario_sale.rst
--- a/tests/scenario_sale.rst   Sat Sep 07 23:13:33 2019 +0200
+++ b/tests/scenario_sale.rst   Sat Sep 07 23:38:20 2019 +0200
@@ -88,7 +88,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_tax

Reply via email to