Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

BOMs and Product Cost Structue

Naroči se

Get notified when there's activity on this post

This question has been flagged
manufacturingv7bom
1 Odgovori
13975 Prikazi
Avatar
Billy Watt

I'm trying to figure out how the costs accumulate for a BOM which is made up of sub BOMs.

I have a product, TD which requires 2 SB plus some other product parts, each SB requires 3 MP plus some other parts, each MP is made up of parts.

TD, SB and MP are all Normal BOMs

So, for the cost structure of a TD I have something like this

TD --- SB --- MP --- MP --- MP SB --- MP --- MP --- MP To simplify things, let's just assume materials, no routings attached.

A MP has £6 of parts, a SB adds a further £20 of parts and a TD adds £50 of parts. Total costs accumulated for a SB should be £38 (£20 + (3 x £6) Total costs accumulated for a TD should be £126 (£50 + (2 x £38)

Except when I ask for the Product Cost Structure of a TD OpenERP tells me that it's £50 and costs a SB as £0. In the same way, the Product Cost Structure of a SB shows as £20 with a MP costing £0. The Product Cost Structure of a MP is correctly shown as £6.

Am I missing something or is this a bug ?

2
Avatar
Opusti
Billy Watt
Avtor

Nobody knows how I can get a complete cost for a product that is made up of sub assemblies ?

Is the only way to do this really to start at the bottom level and manually enter costs so that the next level up can pick it up and then keep going up the tree until I get to the top level part ?

Raphael

The thread: "MRP cost price calculation on bom" helps a bit especially when loading the suggested modules. Unfortunately I couldn't get it to work out the overall cost even though it picks up the cost of each sub BOM.

Billy Watt
Avtor

I tried those as well.

It doesn't appear to pick up the calculated cost of any sub BoMs though so it's still impossible to get a total cost including calculated cost of sub BoMs

Avatar
Julien Mousseaux
Best Answer

The problem is that the report doesn't take modifications made by product_cost_incl_bom (module you must install to calculate sub bom cost). So you have to modify mrp/report/price.py and change two things:

line 68 "std_price = product_uom_pool._compute_price(cr, uid, prod.uom_id.id, prod.standard_price, to_uom_id=product_uom.id)" by "std_price = product_uom_pool._compute_price(cr, uid, prod.uom_id.id, prod.cost_price, to_uom_id=product_uom.id)"

line 150 "total_strd = number * product.standard_price" by "total_strd = number * product.cost_price".

The module product_cost_incl_bom also have to be modified (!) by changing line 62 "std_price = sub_product.standard_price" by "std_price = sub_product.cost_price" Hope this help.

3
Avatar
Opusti
Raphael

This solved the problem in the sense that the correct cost price is created at the end of the report. However the "supplier price per unit of measure" is displayed. This is the only things that is still a bit awkward.

Julien Mousseaux

You're right, you have to modify the report to make those values reach the real cost price of sub-products/sub-boms.

Billy Watt
Avtor

Finally had time to action this !

Works perfectly and gives me a single figure in the Cost Inc BoM box that agrees with the breakdown that can be printed off from Product Cost Structure.

Thank you for the help everyone

James R Cunningham

This method worked for me.

Bulgantamir

hi all i need a calculate product cost, for example manpower cost, fixed cost....My problem's i want to cost structure module but must be first install "invoce date time" module so this module sucsessfull installed. Then I can't install cost structure module SERVER ERROR NO Module named Datetime HELP ME?????

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Reverse Manufacturing Order (put components back into stock)
manufacturing v7 bom
Avatar
0
mar. 15
5369
BoM explosion with subitems
manufacturing v7 bom
Avatar
Avatar
1
mar. 15
8984
Manufacturing order to Disassemble? Solved
manufacturing v7 bom disassemble
Avatar
Avatar
Avatar
Avatar
4
avg. 15
10831
Creating a bill of materials with variable % or weight
manufacturing bom
Avatar
Avatar
1
okt. 25
1003
Multi layered BOMs Solved
manufacturing bom
Avatar
Avatar
Avatar
2
avg. 25
1617
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now