c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #09319
[Bug 689868] Re: Report "product cost structure" doesnt calculate components costs
Hello Francis,
I have tested your latest scenario. But it is also giving the proper
result. I have created this structure.
A
B
C
D
E
F
G
H
I
J
K
L
M
And all product's cost is 1.00. Now calculated product A 's cost structure. Product A was created with sub product B,C,M and C was created with sub product D,J same D was created with sub-product E,I same E was created sub product F,G,H, same J product was created with sub product K and L. So the product A 's cost structure = (1+C's cost+1) C's cost is D's Cost + J's Cost Now D's cost is (E+I) and E 's Cost is F+G+H's cost . So D's cost is 4.0 and J's cost is 2 . So now C's cost is 6 . so Total Cost of product A is 1+6+1=8.00 which is our result. I have attached two screen-shots of it for your reference.
Thanks.
--
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