← Back to team overview

openerp-india team mailing list archive

[Bug 1308823] [NEW] [Trunk/7.0]Infinite loop in procurement run by scheduler

 

Public bug reported:

Product-A:
 - Product Type: Stockable Product
 - Procurement Method: Make to Stock
 - Supply method : Produce

Product-B:
 - Product Type: Stockable Product
 - Procurement Method: Make to Order
 - Supply method : Produce

Product-C:
 - Product Type: Stockable Product
 - Procurement Method: Make to Order
 - Supply method : Buy
 - Create a new supplier and add it to the suppliers tab

BOM-Product-A:
  - BoM Type: Normal
  - Add component "Product-B" with quantity of 1.0 (component type normal)

BOM-Product-B:
  - BoM Type: Sets / Phantom
  - Add component "Product-C" with quantity of 1.0

Create a sale order for Product-A. Run scheduler.  There is a MO will be create.
The product of consume:
 -Product-B (not explode)

You will found the procurement order of Product-B state is confirmed.
And never change again. And the scheduler will not stop

Best Regards
Joshua

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

** Description changed:

  Product-A:
-  - Product Type: Stockable Product
-  - Procurement Method: Make to Stock
-  - Supply method : Produce
+  - Product Type: Stockable Product
+  - Procurement Method: Make to Stock
+  - Supply method : Produce
  
  Product-B:
-  - Product Type: Stockable Product
-  - Procurement Method: Make to Order
-  - Supply method : Produce
+  - Product Type: Stockable Product
+  - Procurement Method: Make to Order
+  - Supply method : Produce
  
  Product-C:
-  - Product Type: Stockable Product
-  - Procurement Method: Make to Order
-  - Supply method : Buy
-  - Create a new supplier and add it to the suppliers tab
+  - Product Type: Stockable Product
+  - Procurement Method: Make to Order
+  - Supply method : Buy
+  - Create a new supplier and add it to the suppliers tab
  
  BOM-Product-A:
-   - Add component "Product-B" with quantity of 1.0 (component type normal)
+   - BoM Type: Normal
+   - Add component "Product-B" with quantity of 1.0 (component type normal)
  
  BOM-Product-B:
-   - Add component "Product-C" with quantity of 1.0
+   - BoM Type: Sets / Phantom
+   - Add component "Product-C" with quantity of 1.0
  
- Create a sale order for Product-A. Run scheduler.  There is a MO will be create. 
+ Create a sale order for Product-A. Run scheduler.  There is a MO will be create.
  The product of consume:
-  -Product-B (not explode)
+  -Product-B (not explode)
  
  You will found the procurement order of Product-B state is confirmed.
  And never change again. And the scheduler will not stop
  
  Best Regards
  Joshua

-- 
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/1308823

Title:
  [Trunk/7.0]Infinite loop in procurement run by scheduler

Status in OpenERP Addons (modules):
  New

Bug description:
  Product-A:
   - Product Type: Stockable Product
   - Procurement Method: Make to Stock
   - Supply method : Produce

  Product-B:
   - Product Type: Stockable Product
   - Procurement Method: Make to Order
   - Supply method : Produce

  Product-C:
   - Product Type: Stockable Product
   - Procurement Method: Make to Order
   - Supply method : Buy
   - Create a new supplier and add it to the suppliers tab

  BOM-Product-A:
    - BoM Type: Normal
    - Add component "Product-B" with quantity of 1.0 (component type normal)

  BOM-Product-B:
    - BoM Type: Sets / Phantom
    - Add component "Product-C" with quantity of 1.0

  Create a sale order for Product-A. Run scheduler.  There is a MO will be create.
  The product of consume:
   -Product-B (not explode)

  You will found the procurement order of Product-B state is confirmed.
  And never change again. And the scheduler will not stop

  Best Regards
  Joshua

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


Follow ups

References