changeset e37a9b4fa925 in modules/carrier_weight:default
details: 
https://hg.tryton.org/modules/carrier_weight?cmd=changeset;node=e37a9b4fa925
description:
        Don't set default unit price on stock move

        issue8119
        review255251002
diffstat:

 tests/scenario_carrier_weight.rst |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r a3ecd2076a4c -r e37a9b4fa925 tests/scenario_carrier_weight.rst
--- a/tests/scenario_carrier_weight.rst Sun Apr 07 19:50:03 2019 +0200
+++ b/tests/scenario_carrier_weight.rst Tue Apr 23 09:10:22 2019 +0200
@@ -131,8 +131,7 @@
     >>> move.to_location = shipment.warehouse.input_location
     >>> move.product = product
     >>> move.quantity = 4
-    >>> move.unit_price
-    Decimal('8')
+    >>> move.unit_price = Decimal('8')
     >>> shipment.carrier = carrier
     >>> shipment.cost
     Decimal('25')

Reply via email to