BoM Cost Update - Update Product Cost from BoM, Multi-Level BoM Cost Roll Up, BoM Structure and Cost Report in Excel
by Modvanta mailto:modvantaapps@gmail.com$ 5.98
Odoo 19CommunityEnterpriseBoM costMulti-levelExcel reportBy Modvanta
Built and supported by Modvanta - modvantaapps@gmail.com
What it does
Odoo can already compute a product's cost from its bill of materials, but only one product at a time, and only one level deep unless you press the button on every sub-assembly first, in the right order. With fifty manufactured products that is an afternoon, and it has to be done again every time a supplier changes a price.
This module runs that same calculation for many products at once. Pick some products, a category or every product with a BoM. Sub-assemblies are costed first and the products that use them read the new cost. You see a preview of every old and new cost before anything is saved, and every change goes into a history.
You can also let it run by itself: every night, or the moment a component cost is saved. On the BoM you see the cost per unit and the cost of each component line, and you can export the BoM structure and cost to Excel.
Who it is for
Manufacturers Product costs that follow component prices, sub-assemblies included, without pressing a button per product. | Cost accountants A history of every cost change with the old and new value, who did it and why it ran. | Production planners The cost of each BoM line and the whole structure in Excel, to share or to price a quote. |
Key features
1BoM cost on the bill of materials
Cost per unit, total for the BoM quantity and the product's current cost sit next to each other. Every component line shows its unit cost and subtotal. The Office Desk below costs 91.21 to make and is still booked at 75.00.

A desk BoM with its cost per unit and line costs.
2BoM cost in the list
The bill of materials list gets a BoM Cost per Unit and a Current Product Cost column, so the outdated costs stand out without opening each BoM.

Bills of materials with their BoM cost and product cost.
3BoM cost on the product
Manufactured products show their BoM cost under the cost field, with a button to update it (sub-assemblies included) and a link to its history.

The BoM cost of the Office Desk on the product form.
4Update product cost from BoM in bulk
Run it for selected products, for product categories (sub-categories included) or for every product with a BoM. Choose multi-level roll up, operations cost, a minimum change and whether FIFO and average cost products are left alone.

Updating every product in the Office Furniture category.
5Preview before saving
The preview lists every product with its current cost, the cost from the BoM and the change in percent. The desk top goes first, then the desk that uses it, then the twin bench made of two desks.

Three costs will change; nothing is saved yet.
6Applied, level by level
Apply writes the costs in the same order, so the desk reads the new cost of its desk top. The result screen keeps the list so you can check what changed.

The three products after the update.
7Cost history
Every change is logged with the date, old cost, new cost, difference, percentage, BoM and user, and why it ran: single product, bulk, scheduled or component cost changed. Pivot and graph views are there too.

A bulk update, then a component price change that rolled up three levels.
8Automatic updates
Switch on the nightly scheduled update (all products, or only some categories), and the update when a component cost changes. Saving a new panel price of 44.50 moved the desk top, the desk and the twin bench at once.

The BoM Cost block in the Manufacturing settings.
9BoM structure and cost report in Excel
From a BoM, or from the list for several at once. Pick a quantity and whether operations count. You get a summary sheet plus one sheet per BoM.

Exporting the desk BoM as a manufacturing user.
10What the Excel file holds
Every component, sub-assembly, operation and by-product with its level, reference, quantity, unit, product cost and BoM cost, and the totals and cost per unit at the bottom. It uses the same data as Odoo's BoM overview.

The desk sheet of the downloaded file.
Also included
| Works with product variants: each variant is costed from the BoM that applies to it. | |
| By-products with a cost share are handled by Odoo's own calculation. | |
| Never Set a Zero Cost: products whose components have no cost yet are skipped instead of wiped. | |
| Multi-company: costs, settings and history are kept per company. |
How it works
| 1 | Install It adds to Manufacturing; nothing to configure to start. |
| 2 | Check the settings Manufacturing -> Configuration -> Settings -> BoM Cost: roll up, operations, automatic updates, minimum change. |
| 3 | Update costs Manufacturing -> Products -> Update Cost from BoM, or select products, categories or BoMs and use the Action menu. |
| 4 | Preview and apply Look through the preview, then press Apply. |
| 5 | Follow the changes Manufacturing -> Reporting -> BoM Cost History. |
Settings
| Multi-level roll up | Cost sub-assemblies from their own BoM first. Default on. |
| Include operations cost | Add the work center cost of the BoM operations. Default on. |
| Update when a component cost changes | Recost every product made from a component when its cost is saved. |
| Scheduled cost update | Every night, for all products with a BoM or only some categories. |
| Minimum change | Leave a cost alone when it would move by less than this percentage. |
| Never set a zero cost | Skip products whose BoM gives a cost of zero. Default on. |
| Access | Manufacturing users see BoM costs, the history and the Excel export. Manufacturing administrators update costs. |
FAQ
Is the calculation the same as Odoo's Compute Price from BoM?
Yes. It calls Odoo's own calculation for each product, so components, units of measure, operations and by-product cost shares are counted the same way. It adds the bulk run, the order of the levels and the history.
What happens to stock valuation?
The same as when you change a cost by hand. For products with stock that are not valued at FIFO, Odoo records a revaluation of the stock. Tick Only Standard Price Products if FIFO and average cost products should not be touched.
Can I check before it saves anything?
Yes. Preview shows every product with its current and new cost. Nothing is written until you press Apply.
Do I need Enterprise?
No. It runs on Community and Enterprise and needs only Manufacturing and its accounting link, which Odoo installs with it.
Does a manufacturing user need rights on products to run it?
Running an update needs the Manufacturing Administrator right, the same as Odoo's own button. Viewing costs and exporting to Excel needs Manufacturing User.
Compatibility
Odoo 19 Community and Enterprise | Depends on Manufacturing (with its accounting link) | Tested 23 automated tests, plus a browser run as administrator and as manufacturing user |
Support
Questions before you buy, or something not working after you install? Write to modvantaapps@gmail.com. Bug reports for Odoo 19 are answered and fixed free of charge.
BoM Cost Update
Every product cost in line with its bill of materials, all levels down, with a record of what changed.
Buy Now - $6Ask a Question| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Manufacturing (mrp)
• Inventory (stock) • Discuss (mail) • Invoicing (account) |
| Lines of code | 1010 |
| Technical Name |
mdv_bom_cost_update |
| License | OPL-1 |
| Website | mailto:modvantaapps@gmail.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module