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

[14.0] sale_mrp_bom bug if multiple variants #1939

Closed
CasVissers-360ERP opened this issue Mar 8, 2022 · 1 comment
Closed

[14.0] sale_mrp_bom bug if multiple variants #1939

CasVissers-360ERP opened this issue Mar 8, 2022 · 1 comment
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@CasVissers-360ERP
Copy link

Module

sale_mrp_bom

Describe the bug

If a product has multiple variants the check of _check_match_product_variant_ids doesn't work anymore.

To Reproduce

Create a product template with multiple variants and one BoM

Expected behavior
_check_match_product_variant_ids

Change:
bom_product = bom_product_tmpl.product_variant_ids
To:
bom_product = line.bom_id.product_id or bom_product_tmpl.product_variant_ids

Copy link

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

1 participant