← Back to team overview

openerp-india team mailing list archive

[Bug 918288] Re: [6.0.3][6.1.rc1] Infinite loop in procurement run by scheduler

 

Hello Yann,

I have checked your issue but I think you have missed something.

Here the side panel product 's configuration is (Make to stock-> buy) and our real stock is 0.0.
Whenever we run the scheduler it will going to create a MO for product A(as per your scenario) but here we don't have real stock of side panel as well as we don't have create a 'Minimum' Stock Rule' that's why our stock do not assigned for MO. So finally our product A's procurement goes into 'waiting' state because we doesn't have required 'virtual' stock.

So would you please create a 'Minimum' Stock Rule' for side panel or
assigned the real stock for this product. Would you please try after
this then notify us where you have faced the problem.

Thanks and waiting for your reply!

** Changed in: openobject-addons
       Status: New => Incomplete

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

Title:
  [6.0.3][6.1.rc1] Infinite loop in procurement run by scheduler

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Steps to reproduce:

  - Create new database with demonstration data
  - Log in as Administrator
  - Install [SALES], [PURCHASE], [WAREHOUSE], [MRP]

  [SALES]
  Create a new product "Product A" and set:
  - Product Type: Stockable Product
  - Procurement Method: Make to Order
  - Supply method : Produce

  [MANUFACTURING]
  Create a new BOM for "Product A" and set:
  - BoM Type: Sets / Phantom
  - Add component [SIDEPAN] Side Panel with quantity of 1.0

   (our objective is to link the component SIDEPAN to "Product A"
  without generating a production order)

  [SALES]
  Create a new quotation for partner "Ecole de Commerce de Liege"
  - Add a line for "Product A"
  - Confirm Quotation to create a sale order

  [WAREHOUSE]
  Run schedulers manually with "Compute Schedulers"
  - Compute
  - Go to "Procurement Exceptions" and uncheck "To fix" in order to view everything

  === USER POINT OF VIEW ===

  Results:
  You can see "Product A" is locked in "Confirmed" state

  === SERVER POINT OF VIEW ===

  Results:
  A new python thread is stuck in an infinite loop "while True" in _procure_confirm (schedulers.py), if you debug the process you will see that:
  - "offset" is never increased
  - "report_total" is constantly increased

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


References