← Back to team overview

openerp-india team mailing list archive

[Bug 1284262] [NEW] Orders for products with Phantom BOMs never "Done"

 

Public bug reported:

Using OpenERP v7

When an order is placed that contains a product with a Phantom BOM it
will never reach the Done state.

Steps to reproduce:
1) Create a product with the following options:
- Product Type: Stockable Product
- Procurement Method: Make to Order
- Supply Method: Manufacture
2) Add a BOM to it with the following options:
- 2 regular stockable products
- BOM Type: Sets/Phantom
3) Place and confirm order for this product
4) Deliver the delivery order (assuming the line items are available)

Looking back at the sale order the "shipped" box never gets checked.
Taking a look at the procurement.order tree view, filtering on sale
order name, there is a record for the phantom BOM parent product that
never leaves Waiting* state.  With the procurement order for the phantom
BOM parent product still in Waiting (and the corresponding stock move
still in Waiting Availability,) the "shipped" box on the sale order will
never become checked.

*Depending on if the phantom BOM parent product is MTO or MTS the states
of the procurement order differ between Waiting/Exception, respectively.
Neither allow the sale order to be completed.

** 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/1284262

Title:
  Orders for products with Phantom BOMs never "Done"

Status in OpenERP Addons (modules):
  New

Bug description:
  Using OpenERP v7

  When an order is placed that contains a product with a Phantom BOM it
  will never reach the Done state.

  Steps to reproduce:
  1) Create a product with the following options:
  - Product Type: Stockable Product
  - Procurement Method: Make to Order
  - Supply Method: Manufacture
  2) Add a BOM to it with the following options:
  - 2 regular stockable products
  - BOM Type: Sets/Phantom
  3) Place and confirm order for this product
  4) Deliver the delivery order (assuming the line items are available)

  Looking back at the sale order the "shipped" box never gets checked.
  Taking a look at the procurement.order tree view, filtering on sale
  order name, there is a record for the phantom BOM parent product that
  never leaves Waiting* state.  With the procurement order for the
  phantom BOM parent product still in Waiting (and the corresponding
  stock move still in Waiting Availability,) the "shipped" box on the
  sale order will never become checked.

  *Depending on if the phantom BOM parent product is MTO or MTS the
  states of the procurement order differ between Waiting/Exception,
  respectively.  Neither allow the sale order to be completed.

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


Follow ups

References