Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FW][FIX] mrp, sale_mrp: _run_pull creates many pickings #164395

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented May 3, 2024

The steps to reproduce:

  • Go to a warehouse. Under the technical information tab, change the field sam_loc_id from "WH/Post-Production" to "WH/Stock".
  • Create a sales order with 2 different products and confirm it.
  • 2 pickings will be created with different group_id MO/XXXX instead of a single picking.

After this commit, we only check the sam_loc_id if we are in 3 steps manufacturing.

OPW-3871886


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #164221
Forward-Port-Of: #162947

The steps to reproduce:
- Go to a warehouse. Under the technical information tab, change the field sam_loc_id from "WH/Post-Production" to "WH/Stock".
- Create a sales order with 2 different products and confirm it.
- 2 pickings will be created with different group_id MO/XXXX instead of a single picking.

After this commit we only check the sam_loc_id if we are in 3 steps manufacturing.

OPW-3871886

X-original-commit: ee7e316
@robodoo
Copy link
Contributor

robodoo commented May 3, 2024

@robodoo robodoo added the forwardport This PR was created by @fw-bot label May 3, 2024
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label May 3, 2024
@clesgow
Copy link
Contributor

clesgow commented May 6, 2024

@fw-bot r+

robodoo pushed a commit that referenced this pull request May 7, 2024
The steps to reproduce:
- Go to a warehouse. Under the technical information tab, change the field sam_loc_id from "WH/Post-Production" to "WH/Stock".
- Create a sales order with 2 different products and confirm it.
- 2 pickings will be created with different group_id MO/XXXX instead of a single picking.

After this commit we only check the sam_loc_id if we are in 3 steps manufacturing.

OPW-3871886

closes #164395

X-original-commit: ee7e316
Signed-off-by: Pedro Nogueira (pno) <pno@odoo.com>
Signed-off-by: Quentin Wolfs (quwo) <quwo@odoo.com>
@robodoo robodoo closed this May 7, 2024
@robodoo robodoo added the 17.3 label May 7, 2024
@fw-bot fw-bot deleted the master-15.0-mrp-run_pull_generate_multiple_pickings-pno-kwrc-fw branch May 21, 2024 11:47
zel-odoo pushed a commit to odoo-dev/odoo that referenced this pull request May 24, 2024
The steps to reproduce:
- Go to a warehouse. Under the technical information tab, change the field sam_loc_id from "WH/Post-Production" to "WH/Stock".
- Create a sales order with 2 different products and confirm it.
- 2 pickings will be created with different group_id MO/XXXX instead of a single picking.

After this commit we only check the sam_loc_id if we are in 3 steps manufacturing.

OPW-3871886

closes odoo#164395

X-original-commit: ee7e316
Signed-off-by: Pedro Nogueira (pno) <pno@odoo.com>
Signed-off-by: Quentin Wolfs (quwo) <quwo@odoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
17.3 forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants