← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 689868] Re: Report "product cost structure" doesnt calculate components costs

 

Hello Francis,

I have tested your scenario.You made a some wrong configuration in your
"BoM". so please consider following steps.

1. Make a 4 different product A,B.C, and D.
2.Then make a "BoM" and select the BoM type as a "Sets / Phantom".
3. And define in this one "BoM"  your whole structure like in product A 's component define product B and in Product B's component define product C.
4. Now you print the   "Product Cost Structure" report which contains cost of product is 14€.    

When you select "BoM" type as a "Normal" then only it's sub-product 's structure can generated not of the sub-product 's child. So in "Product Structure Cost" report  you can see the cost of the product was 5€.
But when you select "BoM" type as a "Sets / Phantom" then it will consider it's children.Then it's cost calculated to it's sub-product and also in sub-product's children.

Thanks

** Changed in: openobject-addons
       Status: New => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/689868

Title:
  Report "product cost structure" doesnt calculate components costs

Status in OpenObject Addons Modules:
  Invalid

Bug description:
  Products A, B, C and D.
standard prices are 1€.

BoM for Product A: 1B + 4C 
BoM for product B: 10D 
(so one A should be composed of 10D + 4B, and in fact that's what the procurement orders do)

When calculating A's "product cost structure" report, 
------------ I'm awaiting:
Costs A :
  1 x costs B
      10 x costs D = 10 x 1€
  4 x costs C = 4 x 1 €
Total costs for one A : 14€

------------ BUT INSTEAD OF THIS, IT ...
... calculates A costs using A's BoM (A= 1B + 4C)
... doesn't calculate B's costs using B's BoM (B=10D).
     Instead of this, creates a new B's "BoM components", with no other products in it. 
     Cost of one B = 1 x standard price of B = 1€
Costs A = 1x standard price of B + 4x standard price of C = 1€ + 4€ = 5€

------------ Note:
The report "BoM structure" is correct, it gives :
A
    1B
        10D
    4C

Thanks in advance for correcting this bug (or for explanation if I'm understanding something wrong)





References