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

[16.0] mrp_bom_line_formula_quantity: quantity doesn't multiply if more than one product produced #1459

Open
DavideSpagnuolo opened this issue Jan 24, 2025 · 1 comment
Labels

Comments

@DavideSpagnuolo
Copy link

Module

mrp_bom_line_formula_quantity

Bug

When I want to produce more than 1 product with the configured BOM, the system doesn't multiply the quantity of the components in which the quantity is determined in the quantity forula field.

To reproduce
Affected version: 16.0

Step to reproduce the bug:

  1. Create a new BOM for the product X
  2. Add a component Y to the BOM
  3. Configure the quantity formula (i.e. quantity = 2)
  4. Save and exit
  5. Create a new work order for more than one unit of product X (from a sale order or directly from the manifacturing app, it's the same)
  6. Odoo, for the component Y, doesn't multiply the quantity resulting from the quantity formula by the quantity of product X needed (i.e. WO for 2 units of product X -> the quantity for component Y is not 4, but remains 2)

Expected behavior
Odoo, for the component Y, shows the correct quantity calculated as the quantity resulting from the quantity formula by the quantity of product X needed (i.e. WO for 2 units of product X -> the quantity for component Y is 4)

@techgrrow
Copy link

Proposed a PR for this issue #1463

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants