Skip to content

Syncing from upstream odoo/odoo (tmp.saas-18.2) #34156

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

Merged
merged 1 commit into from
Jul 7, 2025

Conversation

bt-admin
Copy link
Collaborator

@bt-admin bt-admin commented Jul 7, 2025

bt_gitbot

__Issue:__

Condition used for MOs triggered under the `pbm_sam` manufacturing flow
only checks the start of the group name, not the whole name, which could
fail in case triggered by reordering rules where the origin might be a
compound string such as: "OP/00001,WH/MO/00001"

__Steps to reproduce:__

1.) Install sales; inventory; manufacturing
2.) Enable multi-step routes
3.) Unarchive MTO
4.) Set warehouse manufacture steps to:
Pick components, manufacture, then store products (3 steps)
(manufacture_steps == 'pbm_sam')
5.) Create product A-bom (enable manufacture and mto routes)
6.) Create product B (enable manufacture)
7.) Add Product A as bom for product B
8.) Add a reordering rule (manufacture) for product B
9.) run SA Procurement: run scheduler
Error: duplicate key value violates unique constraint

opw-4866263
bug found: [#c50cb9d][1]

[1] : c50cb9d

closes #217432

X-original-commit: c604235
Signed-off-by: William Henrotin (whe) <[email protected]>
Signed-off-by: Verina Gad (vega) <[email protected]>
@bt-admin bt-admin merged commit b36ed1e into brain-tec:tmp.saas-18.2 Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants