[7.0] Product view slow with many stock_locations

Bug #1318668 reported by Florent Delayen
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP Community Backports (Addons)
New
Undecided
Unassigned

Bug Description

Hi !

With 13000 stock locations, it takes nearly 10 seconds to see the product list view, and another 10 seconds each time you click anywhere related to a product.

We analysed that bug, and saw that the fields_view_get request returns our 13000 locations and our warehouses...

This problem is related to these two fields (file: stock/product.py):

'location_id': fields.dummy(string='Location', relation='stock.location', type='many2one'),
'warehouse_id': fields.dummy(string='Warehouse', relation='stock.warehouse', type='many2one')

Does anybody knows why these fields are dummy ?

Best regards

Florent Delayen (tnedel)
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.