← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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?

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, 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):
  New

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


Follow ups

References