[RC1] Back/Forward when search by name doesn't return a result

Bug #306667 reported by Christophe CHAUVET
2
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

When use Forward Button, search criteria doesn't return a result

To reproduce this bug:

- Create a new database in minimal profile.
- Goto to Administration -> Modules management -> Modules
- Click to Forward
- Search "sale" module
it doesn't appear on the list
- Click on Back
The line with sale module appear.

The bug is present when offset is greater than the number of record. When press search (or enter), the search must reset the offset fields

Regards,

Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello,

This is not a bug. you need to change your offset on new search.

The main aim of offset is to to display the record starting form that offset+1.

i.e if u search for 'sale' and the query results only 10 records but you are providing offset greater than 10 so that will not display any record.

Thanks,

Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

Hi

I can't satisfy with this answer, If the customer search and forgot to reset offset, he can't find a result, an create a new one instead.

The customer is only a keyboard/chair interface, not a developper :)

Regards,

Husen Daudi (husendaudi)
Changed in openobject-client:
status: New → Fix Committed
Changed in openobject-server:
status: New → Fix Committed
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

I reopen: to be changed: when a new search, reset offset to 0.

Changed in openobject-server:
status: Fix Committed → Fix Released
Changed in openobject-client:
status: Fix Committed → New
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

This is a client bug, assigned to client project.

Changed in openobject-server:
status: Fix Released → Invalid
Changed in openobject-client:
status: New → Fix Released
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

I reopen this bug. Please fix. When a new search is performed, it must reset offset to 0.

Changed in openobject-client:
status: Fix Released → New
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

fixed in trunk

Changed in openobject-client:
status: New → Fix Released
Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

Sorry but in client rc3 (revno 875) it doesn't work

Changed in openobject-client:
status: Fix Released → New
Revision history for this message
Priyesh (OpenERP) (pso-openerp) wrote :

Hello,

Apply this patch. it will work.

Thanks,

Changed in openobject-client:
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

Bug attachments

Remote bug watches

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