← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 776493] [NEW] Products more than 10000 slow down the printing of Location Content report

 

Public bug reported:

Hello,
Printing of "Location Content"  report  from  the right pane of "Stock by Location" taking a long time to produce the report, and sometimes it will not produce the pdf at all when the number of product is in range of 10000. I think it is running the function "process" on "addons/stock/report/lot_overview_all.py". This function is calling the "_product_get_all_report function on "addons/stock/stock.py" which is calling "_product_get_report" function on same file. In _product_get_report function, it is looping all the 10000+ products which slow down the printing of report. Please check and improve the performance of this function.

Thank you.

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

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/776493

Title:
  Products more than 10000 slow down the printing of Location Content
  report

Status in OpenERP Server:
  New

Bug description:
  Hello,
  Printing of "Location Content"  report  from  the right pane of "Stock by Location" taking a long time to produce the report, and sometimes it will not produce the pdf at all when the number of product is in range of 10000. I think it is running the function "process" on "addons/stock/report/lot_overview_all.py". This function is calling the "_product_get_all_report function on "addons/stock/stock.py" which is calling "_product_get_report" function on same file. In _product_get_report function, it is looping all the 10000+ products which slow down the printing of report. Please check and improve the performance of this function.

  Thank you.


Follow ups

References