Can't confirm a shipment when the storage location warehouse is view type.
Scenario:
1- Install sale module.
2- Change Storage location in your warehouse, "internal" to "view" type.
3- Create new childs locations from the parent "Storage Location". Those locations, the type are "internal".
4- Create new salable product
5- Create new sale
6- Open the new shipment generated from sale.
7- Assign the shipment. Message alert is:
<<The value of the field "From Location" on "Stock Move" is not valid according to its domain.>>
The from_location domain in stock.move has not “warehouse” and “view” type (1).
I think is incorrect to assign storage_location from warehouse when this location is view type.
(1) https://bitbucket.org/tryton/stock/src/a5faf2244dd4584d55a7cbf784c4e12406103b55/move.py?fileviewer=file-view-default#move.py-29
(2) https://bitbucket.org/tryton/stock/src/a5faf2244dd4584d55a7cbf784c4e12406103b55/shipment.py?fileviewer=file-view-default#shipment.py-413