Category: Manufacturing
Description:
Hello Odoo Community,
I’m working on setting up a manufacturing process in Odoo where the cost of products is calculated using a Bill of Materials (BoM). The challenge I'm facing involves calculating the quantity of raw materials needed for a product based on its properties, such as dimensions (e.g., length, width, height).
Scenario:
We are manufacturing a product called a "Raised Bed." One of the raw materials required for this product is wood. The quantity of wood required is directly dependent on the dimensions of the raised bed.
Objective:
I would like to automate this process so that when a product variant is selected (with specific dimensions), the BoM automatically calculates the quantity of wood required based on the dimensions and updates the cost accordingly.
Question:
Is there any way to achieve this kind of dynamic quantity calculation within the standard Odoo functionality or using Odoo Studio, without custom development? Perhaps there is an Odoo module or a workaround that I haven’t considered?
Any insights, suggestions, or examples from your experience would be greatly appreciated.
Thank you!

This will require developments. But I think possible with an server action. If you can create a rule for the calculation.