changeset ae38f0e87dfb in modules/stock_lot:default
details: https://hg.tryton.org/modules/stock_lot?cmd=changeset;node=ae38f0e87dfb
description:
Add picked step to customer shipment workflow
issue9634
review329071002
diffstat:
tests/scenario_stock_lot_shipment_out.rst | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r bc9a167e048c -r ae38f0e87dfb tests/scenario_stock_lot_shipment_out.rst
--- a/tests/scenario_stock_lot_shipment_out.rst Sun Oct 11 16:05:16 2020 +0200
+++ b/tests/scenario_stock_lot_shipment_out.rst Mon Oct 12 23:19:54 2020 +0200
@@ -96,9 +96,9 @@
>>> len(shipment_out.outgoing_moves)
1
-Try to pack without lot::
+Try to pick without lot::
- >>> shipment_out.click('pack') # doctest: +IGNORE_EXCEPTION_DETAIL
+ >>> shipment_out.click('pick') # doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
RequiredValidationError: ...
@@ -112,11 +112,11 @@
... move.lot = lot
>>> shipment_out.save()
-Pack the shipment::
+Pick the shipment::
- >>> shipment_out.click('pack')
+ >>> shipment_out.click('pick')
>>> shipment_out.state
- 'packed'
+ 'picked'
>>> len(shipment_out.outgoing_moves)
3
>>> sorted([m.quantity for m in shipment_out.outgoing_moves])