Lost your login?
Created on 2018-11-13.11:35:48 by resteve, last changed by resteve.
- Location "X"
- Location "AX"
- Location "BX"
- Location "Y"
The product A, I have stock in location "X" and location "AX".
I create a new move (with internal shipment):
- From locatoon: Location "X"
- To location: Location "AX"
In case I assign a shipment, qty from location "X" to location "AX", I can't because in the assign_try  write the from_location that have stock (location name "AX" is before that "X" in order name ) and not respect the from_location that I insert in the stock.move.
I get the error "Source and destination location must be different" because assing try, add "from tocation" to "AX" and is equal "to location".
I think with need to skip to_location in add locations in location_qties dict .
for location in childs:
+ if location.id == to_location.id:
key = get_key(location)