Continuing the discussion from Finer grain management for storage location:
With Finer grain management for storage location, it will be possible to use location as pallet/package because the number should no more be a problem.
The user need to be able move them (change the parent location) inside the warehouse.
The user need to register the sent of a pallet to a customer or receive a pallet from a supplier.
The user must be able to create such new palette/package.
As a pallet/package is a location, we need to distinct location that can move from those than can not. So a new
Boolean is added to the location to allow to move it. It will be forbidden to change the parent of a location if it is not checked and if it has moves.
The move of a location is done using an internal shipment but it will require some improvements:
child_of domain on moves from shipment when the field is read-only
- an assignation field must be added on location which will contain the shipment id from which the location is assigned for moving (this will ensure the serialization of assignation and prevent to change the parent)
child_of constraint must be added on the locations moved but only for assignation
StockSupply wizard must apply the forecast move of location (like the
stock_forecast) when computing
ShipmentInReturn done, the empty movable location should be deactivated. The location can be deactivated if all moves using it are done or canceled and if the forecast quantity of products at max date in it is equals to 0.
The new stock group must allow to create a location with the
Boolean checked. This will allow to create such location on