← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello,

Thanks for your answer.

I'll test it like this BUT I'm not sure it'll be absolutely satisfying:
I had simplified my structure for the example, but it merely looks like this:

A
  B
  C
    D
      E
        F
        G
        H
      I
    J
      K
      L
  M

So A must be "phantom" so that it considers C's BoM, then probably C must be phantom to consider D's & J's BoMs, and D must be phantom to consider E's BoM...
I'm afraid of the side-effects of phantom-BoMs, I don't want at once thousands of procurements of things that aren't ready to buy or produce now, to be accepted at once in one single procurement order because of phantom BoMs.

Clearer explained: I want to be able to accept C's procurement order when B is ready. 
With phantom Boms quite everywhere, 
- instead of 1 procurement order for B, C & M, 
- I'll have one for B, F, G, H, I, K, L, M, 
am I right?
With all difficulty to clearly see where all these procurements come from or belong to (caus all our A, A', A'', A''' and so on products use the same components).

So it seems really strange to me that I have to simulate phantoms where
I don't need phantoms according to my process, just for a cost report to
function properly.

So I quite disagree with you, I think it quite looks like a bug.
How do you explain that the report "Bom structure" IS ABLE to recursively find the boms of the components (pic 1 of the attachment),
And that the report "product cost structure" IS NOT ABLE to do the same? There's no phantom BoM in either case... (pic 2)

So I would be grateful if you admitted to reconsider this:
** 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