# Totals for BOM keep doubling

**URL:** <https://www.dolibarr.org/forum/t/totals-for-bom-keep-doubling/23382>\
**Category:** PM modules\
**Tags:** Linux\
**Created:** [February 22, 2023, 9:06pm UTC](https://www.dolibarr.org/forum/t/totals-for-bom-keep-doubling/23382 "2023-02-22T21:06:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![34bwood](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/34bwood/32/5916_2.png) [@34bwood](https://www.dolibarr.org/forum/u/34bwood)\
**Post date:** [February 22, 2023, 9:06pm UTC](https://www.dolibarr.org/forum/t/totals-for-bom-keep-doubling/23382/1 "2023-02-22T21:06:10Z")

</div>

My product is made in several stages. I created a manufactured product for each stage. Below is a simplified example

I have raw material (plastic) that I keep a quantity based on its weight in grams. Let’s say it’s $.01 per gram

prod1 - plastic part (weighs 5 grams)

I make a BOM for each part

Bom\_prod1  
Creates prod1; consumes 5 grams of plastic; Cost is $0.05

I now make a manufactured part (Asm1). This is an assembly of 1 prod1 and 1 (raw material ) pin $0.02.

When I create a BOM for Asm1 and add prod1 (to consume), it shows the cost as $0.10 (doubled) and I add the pin. Pin shows correct cost at $0.02

This brings the total cost of Asm1 to $0.12, but it should only cost $0.07.

Now when I create my final product Final01 that I put Asm1 into a (raw material box cost $1.00

When I create the BOM for Final01, I add in Asm1, it now shows a cost of $0.24 (double again) and a cost of the box of $1.00 for a total of $1.24.

I’m very new to Dolibarr and it keeps track of my raw materials and all my components perfectly. I just can’t get it to give me an accurate costing.

There was a similar post where a person was getting double totals too. He was on windows using WAMP (I think). He rebuilt Dolibarr without WAMP and said it was working. I’m running Armbian on a Rockpi.

Any help would be appreciated  
Brian

---

<div class="post-metadata">

**Author:** ![MobileIT](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/m/9de053/32.png) [@MobileIT](https://www.dolibarr.org/forum/u/MobileIT)\
**Post date:** [February 28, 2023, 5:54pm UTC](https://www.dolibarr.org/forum/t/totals-for-bom-keep-doubling/23382/2 "2023-02-28T17:54:42Z")

</div>

No, we dont get double count.
