# BOM .odt templates

**URL:** <https://www.dolibarr.org/forum/t/bom-odt-templates/20274>\
**Category:** PM modules\
**Tags:** Question, v12\
**Created:** [February 16, 2021, 1:44pm UTC](https://www.dolibarr.org/forum/t/bom-odt-templates/20274 "2021-02-16T13:44:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tobias\_2](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@Tobias\_2](https://www.dolibarr.org/forum/u/Tobias_2)\
**Post date:** [February 16, 2021, 1:44pm UTC](https://www.dolibarr.org/forum/t/bom-odt-templates/20274/1 "2021-02-16T13:44:37Z")

</div>

Hi everybody,  
I’m having troubles with the BOM .odt template. See Screenshots [here](https://imgur.com/a/EcMDO4w).  
Here’s what I’m trying to do:

I defined four products (img#1):

- A raw product _001_
- Another raw product _002_
- An intermediate product _030_
- A finished product _400_

Then there’s two bills of material (img#2):

- Product _030_ ist made up of 10 units of 001
- Product _400_ is made up of two units of _030_ and five units of _002_

Now I want to print a list of all raw products that are needed for the final product _400_. In this example that would be 20 units of product _001_ and 5 units of product _002_. I thought the .odt template for the product _400_ BOM should be the way to go.

However, with this template (img#3) I end up with something like this (img#4)  
Most of the tags aren’t replaced, the product labels are incomplete ( "002 - " without description) and I don’t know how to resolve the intermediate product _030_ into its raw materials.  
Can anyone share a working example for a BOM template or hint on how to do what I’m trying?
