openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #00204
[Bug 882907] [NEW] stock location content report not optimized
Public bug reported:
We are using OpenERP 6.0.3 with WEB-UI, we have roughly 15,000 products and 250 internal locations.
Every time we trying to generate report of content of one or some locations, the server will consuming a lot of memory ( around 1-1.5Giga), and some time we got timeout error of web-ui.
After a little investigation, we think it is because in _product_get_report() of stock.py, if product_ids is not provided, it will indiscriminately get all the product ids:
if not product_ids:
product_ids = product_obj.search(cr, uid, [], context={'active_test': False})
We think it may get related product ids with the location ids given
first, will it be feasible?
** Affects: openobject-addons
Importance: Undecided
Status: New
** Tags: stock
--
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/882907
Title:
stock location content report not optimized
Status in OpenERP Addons (modules):
New
Bug description:
We are using OpenERP 6.0.3 with WEB-UI, we have roughly 15,000 products and 250 internal locations.
Every time we trying to generate report of content of one or some locations, the server will consuming a lot of memory ( around 1-1.5Giga), and some time we got timeout error of web-ui.
After a little investigation, we think it is because in _product_get_report() of stock.py, if product_ids is not provided, it will indiscriminately get all the product ids:
if not product_ids:
product_ids = product_obj.search(cr, uid, [], context={'active_test': False})
We think it may get related product ids with the location ids given
first, will it be feasible?
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/882907/+subscriptions
Follow ups
-
[Bug 882907] Re: stock location content report not optimized
From: Naresh(OpenERP), 2012-09-13
-
[Bug 882907] Re: stock location content report not optimized
From: Rifakat (OpenERP), 2012-09-12
-
[Bug 882907] Re: stock location content report not optimized
From: Vinay Rana (openerp), 2011-11-24
-
[Bug 882907] Re: stock location content report not optimized
From: Jignesh Rathod(OpenERP), 2011-11-24
-
[Bug 882907] Re: stock location content report not optimized
From: Jignesh Rathod(OpenERP), 2011-11-24
-
[Bug 882907] Re: stock location content report not optimized
From: Ferdinand @ Camptocamp, 2011-10-29
-
[Bug 882907] Re: stock location content report not optimized
From: Ferdinand @ Camptocamp, 2011-10-29
-
[Bug 882907] Re: stock location content report not optimized
From: Eric Caudal - www.openerp.net.cn, 2011-10-28
-
[Bug 882907] Re: stock location content report not optimized
From: Ferdinand @ Camptocamp, 2011-10-28
-
[Bug 882907] [NEW] stock location content report not optimized
From: Ian Li - www.elico-corp.com, 2011-10-28
References