Commit Graph

9 Commits

Author SHA1 Message Date
Guewen Baconnier
5fa7e38e0a Allow changing a putaway tray type after assigned
When the shuttle screen propose a tray based on a tray type and we
are in the 'save' step, where we are supposed to physically putaway
the good and save, we should still be able to change the tray type
to fetch another tray.
2020-08-27 11:50:34 +02:00
Guewen Baconnier
1c56825b1a Add stock_vertical_lift_storage_type
Compatibility module between stock_vertical_lift and stock_storage_type
(in OCA/wms).

In the vertical lift's Putaway screen, when a good is scanned for a putaway, the
user has to scan the tray type of the corresponding size, so an empty place in a
matching tray is found. When we use storage types, we should know what tray is
compatible with the storage type.

Changes with this module:

* The storage types of trays cannot be selected in the locations form, they have
  to be set in the Tray types.
* In the lift put-away screen, when a package has a storage type, the user isn't
  asked to scan a tray type, instead, the putaway of the Package Storage Type is
  applied.
2020-08-27 11:50:34 +02:00
Guewen Baconnier
feb1aa1d80 Rework workflows using a small state machine
The documentation of the state machine is in
VerticalLiftOperationBase._transitions.
2020-08-27 11:50:34 +02:00
Guewen Baconnier
b574c829c1 [MIG] stock_vertical_lift{,_kardex}: Migration to 13.0 2020-08-27 11:50:34 +02:00
Guewen Baconnier
e6733ddf73 [IMP] stock_vertical_lift: black, isort 2020-08-27 11:50:34 +02:00
Guewen Baconnier
0c9f88d953 Implement inventory screen 2020-08-27 11:50:34 +02:00
Guewen Baconnier
bcfb269e2f Add Put-Away workflow 2020-08-27 11:50:34 +02:00
Guewen Baconnier
ab764e13fc Split the shuttle operations in different models/views
Namely, the pick/put/inventory operations are now split in
different models.

Pick and Put share a model and customize their behavior, which is pretty
similar. The inventory operation will have a different view and
different workflow.

This changes will ease a lot the customization of the different
workflows and views.
2020-08-27 11:50:34 +02:00
Guewen Baconnier
311fb24447 Add stock_vertical_lift module 2020-08-27 11:50:34 +02:00