[5.0] : Form O2M widget read **ALL** records

Bug #604618 reported by Alexandre (http://www.smile.fr)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
High
Chirag Patel (OpenERP)

Bug Description

Hi,

I've found out a huge performance issue on the latest Web Client 5.0 (web client revno : 2881, server revno : 2085).

My form contains a one2many widgets which should display 20 records (openerp-web.cfg) out of 7000+ records.

Every time I use the "<< First", "< Previous", "Next >", "Last >>" buttons in order to modify the list offset, the Web Client performs a "read" operation on *ALL* the records : it should only read the 20 first / previous / next / last records.

These "read" operations are very long, so that the pages are very slow to load...

See the attached draft patch ;)

Related branches

Revision history for this message
Alexandre (http://www.smile.fr) (alexandre-andrei) wrote :
Changed in openobject-client-web:
importance: Undecided → High
Revision history for this message
Chirag Patel (OpenERP) (cpa-openerp) wrote :

Hello alexandre,

It's fixed in stable version, please update your code.

Revision Info:
2903 <email address hidden>

Thanks.

Changed in openobject-client-web:
assignee: nobody → cpa(OpenERP) (cpa-openerp)
milestone: none → 5.0.13
status: New → Fix Released
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.