summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorsvs-odoo <svs@odoo.com>2020-01-16 13:58:36 +0000
committerNicolas Martinelli <nim@odoo.com>2020-02-17 16:55:27 +0000
commit667112ad3aa6540cedaf9f6839f2ac14276d4a2a (patch)
treea1f1b53a59fb5a88d676e858bd04401636b99b72 /addons/web/static/src/js/views/basic/basic_controller.js
parent47eff65afdba3a2a8283342d8b636657f1fac317 (diff)
[FIX] stock: package location dest with putaway
0. Create 2 Products A & B 1. Open Inventory > Configuration > Settings and flag the following checkboxes: Delivery Packages Product Packagings Storage Locations Multi-Step Routes 2. Go to Inventory > Configuration > Warehouses and open YourCompany WH 3. Set 'Incoming shipments' to 'Receive goods in input and then stock (2 steps)' 4. Go to Inventory > Configuration > Operations types. 5. For 'YourCompany: Delivery Orders' and 'YourCompany: Internal Transfers”, flag the following checkboxes: Show Detailed Operations Move Entire Packages 6. Go to Inventory > Configuration > Locations and open 'WH/Stock' 7. Edit and create a new 'Put Away Strategy' called 'Stock' 8. Add a new rule: Product A, with Location 'WH/Stock/Shelf 1' Product B, with Location 'WH/Stock/Shelf 2' 9. Go to Inventory > Operations > Transfers to create a new picking. 10. Select 'YourCompany: Receipts' as 'Operation Type' 11. Under Operations, add a new line with product A and an 'Initial demand' of 20 12. Save and 'Mark as to do' 13. Enter in edit mode and under 'Detailed Operations', set a quantity of 11.0 on 'Done' and click on 'Put in Pack' => A new pack is created 14. Repeat 13 with a quantity of 9 to create a new pack 15. Save and click on 'Validate' 16. An existing 'Internal Transfers' with the two created Packages having following properties: From: 'WH/Input To: 'WH/Stock/Shelf 1' At this point, the behavior is expected. 17. Cancel the picking created 18. Create a new picking: Operation type: 'YourCompany: Internal Transfers' Source Location: 'WH/Input' Destination location: 'WH/Stock' 19. Under Operations, add two new lines using the packages os step 16. 20. Save and 'Mark As To Do'. The two packages have the following properties: From: 'WH/Input To: 'WH/Stock' We can see a difference in behavior. The picking created from a 'Pull' mechanism applies the putaway strategy to the package, while the picking created from the 'Push' mechanism doesn't apply it. We make the behavior consistent. Moreover, in case the package contains products having different destination locations, the destination of the picking is kept. opw-2146583 task-2148494 closes odoo/odoo#45549 X-original-commit: 705bdaa4ae5251b05bc2bbba02f2ca561ca00bbc Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com> Co-authored-by: Nicolas Martinelli <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions