odoo/odoo#202159
Created by fw-bot
Merged
at ed76ff8357325cc87d654f578cdf7419cd7b4277
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:saas-17.4-16.0-opw-4620008-mrp-3-steps-byproduct-snd-423425-fw
- head
- a52c7b61c31a3dffd2bf4b8d3cdb65626ac7ed9f
- merged
- 8 months ago by Logistics, Stéphane Diez (snd)
| odoo/odoo | |
|---|---|
| 16.0 | #201619 |
| 17.0 | #202054 |
| saas-17.4 | #202159 |
| 18.0 | #202300 |
| saas-18.1 | #202407 |
| saas-18.2 | #202684 |
| saas-18.3 | |
| saas-18.4 | |
| 19.0 | |
| master | #202750 |
[FW][FIX] mrp: 3-steps manu with free byproduct
When manually adding a byproduct to a MO, the warehouse is not set because default_warehouse_id is missing from the context. This means that the push move from post-prod to stock is never created and the byproduct is stuck in post-production location. This fix adds the context key in the MO form view.
Steps:
- Activate routes & by-product in the main settings
- Activate manufacturing in 3 steps on the warehouse
- Create manufacturing order for a product and add a by-product with a positive quantity
- Confirm manufacturing order
- Pick components
- Produce & close MO
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr