← Back to team overview

credativ team mailing list archive

[Bug 922617] Re: Wrong product cost structure with sub-BOM

 

Hello Yannick buron,

I have tested your scenario, but I think you might have a misunderstand something..
When we are define BOM type "Normal" at that time structured consider only Product Component, Can not consider of the Product Component's child.
But when we are define BOM type "Sets / Phantom" at that time structured consider with Product Component's child.

Let's See deeply with example,

scenario #1
----------------
1. Make a 6 different product A,B,C,O,P and Q.
2. Then make BOM. 
	when you create BOM for product A [bom type "Normal" for A] - at that time define Components with suitable quantity [3 Product B and 2 Product C] and set the bom type "Sets / Phantom" for both(Product B and Product C). 
	Now create BoM for Product B [bom type "Normal" for B] - at that time define Components with suitable quantity [2 Product O, 1 Product P, 1 Product Q ] and set the bom type "Sets / Phantom" for all(Product O ,Product P,Product Q).
3. Now you print the "Product Cost Structure" report which contains cost of product is 14€.

so here total are computed are as follow:
	product A = product C (2*1) 2 + product O(6*1) 6 + product P (3*1) 3 + product Q (3*1) 3 = 14€.
	would you please refer attachment openerp_example1.

scenario #2
----------------
1. Make a 6 different product A,B,C,O,P and Q.
2. Then make BOM. 
	when you create BOM for product A [bom type "Normal" for A] - at that time define Components with suitable quantity [3 Product B and 2 Product C] and set the bom type "Normal" for both(Product B and Product C). 
	Now create BoM for Product B [bom type "Normal" for B] - at that time define Components with suitable quantity [2 Product O, 1 Product P, 1 Product Q ] and set the bom type "Normal" for all(Product O ,Product P,Product Q).
3. Now you print the "Product Cost Structure" report which contains cost of product is 5€.

so here total are computed are as follow:
	product A = product B (3*1) 3 + product C(2*1) 2 = 5€.
	would you please refer attachment openerp_example2.

would you please refer this also, lp : 689868
I have attached tow screen-shots of it for your reference. would you please check It and  notify us where you have faced the problem.
Correct me If I am wrong! 

Thank you and waiting for your reply!

** Attachment added: "cost structure for senario#1"
   https://bugs.launchpad.net/openobject-addons/+bug/922617/+attachment/2705317/+files/openerp_example1.pdf

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/922617

Title:
  Wrong product cost structure with sub-BOM

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Hi everyone,

  I think I have a bug in 6.0.3 stable with the product cost structure
  report in the product (should have mrp module installed). I have the
  bug with the report but I think the problem comes from the way the BOM
  is computed.

  Let's take the following BOM :

                             |-- 2 Product N
                             |-- 1 Product M
             |-- 3 Product A-|-- 1 Product O
             |       
             |
  Product X -|
             |-- 2 Product B

  And this is the product cost structure I get :
  2 Product N
  1 Product M
  1 Product O
  2 Product B

  It doesn't take at all account of the 3 Product A required! I should have :
  2*3 = 6 Product N
  1*3 = 3 Product M
  1*3 = 3 Product O
  2 Product B

  I have the same result when I check the "Product BOM Structure" so I really think this is a bug who come from the way the structure is computed.
  Of course with this bug, the cost structure is completely wrong and unreliable.

  What do you think about it?

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/922617/+subscriptions


References