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

        issue8119
        review255251002
diffstat:

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

diffs (13 lines):

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

Reply via email to