Manual assign on a location without enough stock save remainder line with assigned line data(location, lot)
This behavior happens in Tryton 6.0 (working in 5.8)
To reproduce:
-
Create 2 locations under Stock Location (A1, A2)
-
Store product X in A1 : qty 50, in A2 : qty 100
-
Create a sale with product X - qty : 80
-
Process sale and go to customer shipment
-
Select the shipment related to sale and do a manual assign
-
Quantity to assign is 80
-
As location, select A1 (which contains 50 unit), leave quantity field empty(it means take all at this place) then apply.
-
Now, if you try to select a location, list is empty (it should display 'A2' location).
-
If you click on cancel in the wizard: displayed lines will be:
-
A1 - X - 50
-
A1 -X - 30 -> Should be : Storage Zone - X - 30
If lot module is activated, lot number will be also on the remainder line. (normally it should be empty)
Can be tested here choosing 'A2' as location with the Manual Assign: Test Demo Tryton 6.0
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
bug_assign-2021-09-22_10.19.00.mkv | @maxx | 2021-09-22 08:37:03.845000 UTC | video/x-matroska |