changeset de1390e5ef9c in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset;node=de1390e5ef9c
description:
        Raise NotImplementedError when setting Function field without setter

        issue7985
        review265101002
diffstat:

 tests/test_stock.py |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 2974f3db315e -r de1390e5ef9c tests/test_stock.py
--- a/tests/test_stock.py       Fri Mar 22 15:33:44 2019 +0100
+++ b/tests/test_stock.py       Wed Mar 27 00:28:57 2019 +0100
@@ -1334,7 +1334,6 @@
                     'name': "Product",
                     'type': 'goods',
                     'list_price': Decimal(0),
-                    'cost_price': Decimal(0),
                     'default_uom': unit.id,
                     }])
         product, = Product.create([{'template': template.id}])
@@ -1375,7 +1374,6 @@
                     'name': "Product",
                     'type': 'goods',
                     'list_price': Decimal(0),
-                    'cost_price': Decimal(0),
                     'default_uom': unit.id,
                     }])
         product, = Product.create([{'template': template.id}])

Reply via email to