Commit Graph

2 Commits

Author SHA1 Message Date
Guewen Baconnier
ab62cbc7dc Raise priority only if the direct next move has consolidation
In the following graph:

                  PICK/001 ━►  PACK/001  ┓
                                         ┃
                  PICK/002 ┓             ┣━► OUT/001
                           ┣━► PACK/002  ┛
       INT/001 ━► PICK/003 ┛

If we have the consolidate flag on "PACK", we want to raise the priority
only when we start to move goods in PACK/001 or PACK/002 (not INT/001),
because this is in the packing zone that we are limited in space.

Also, when for instance a move of PICK/002 or PICK/003 is set to done,
*any* move (all products) that go to PACK/002 are concerned by the
priority raise: we want to finish the transfer.
2020-08-27 11:52:00 +02:00
Guewen Baconnier
d6b34b968f Add stock_picking_consolidation_priority
This module adds an option "Raise priority when partially available" on
operation types.

When the option is set on an operation type, the first time a packing operation
is made partially available (goods have been moved for instance from a picking),
all the other moves that will bring goods for the same packing transfer have
their priority raised to "Very Urgent". If the moves that bring goods to the
packing transfer involves a chain of several moves, all the moves of the chain
have their priority raised.
2020-07-08 15:44:30 +02:00