-
- Downloads
[FIX] stock{_dropshipping}: dropship tracked product
To reproduce:
1- Activate dropshipping from settings
2- Create lot tracked product and enable dropship route
3- Add a vendor in product purchase tab
4- Create a SO with the product and confirm
5- Go to generated PO and confirm
6- Go to generated dropship transfer linked to SO /PO
7- Enter a lot name for the product move line validate
8- Go to 'Inventory>Products>Lots/Serial Numbers'
9- Expand the dropshipped product, find the serial number used in dropship
10- Show the 'Transfer To' field if not visible, you will find it empty
Expected:
The 'Transfer To' field should have the last partner the serial was delivered to
in this case the customer in the SO
This commit fixes the issue and adds a test (also imporves the test class)
opw-3225342
closes odoo/odoo#123242
Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
Showing
- addons/stock/models/stock_lot.py 8 additions, 5 deletionsaddons/stock/models/stock_lot.py
- addons/stock_dropshipping/models/stock.py 22 additions, 1 deletionaddons/stock_dropshipping/models/stock.py
- addons/stock_dropshipping/tests/test_dropship.py 69 additions, 44 deletionsaddons/stock_dropshipping/tests/test_dropship.py
Please register or sign in to comment