Web client exports only first page

Bug #792754 reported by Stéphane Bidoul (Acsone)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
New
Undecided
Unassigned

Bug Description

Hi,

In the web client, when you export data, only the first page displayed is exported. You need to select "unlimited" in the list before exporting to export all records.

Expected result: all records are exported, not only the first page (unless maybe some lines are explicitly selected).

Best regards,

-sbi

Amit Parik (amit-parik)
summary: - [6.0] Web client exports only first page
+ Web client exports only first page
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Stephane,

I have linked this issue to the bug #795704 because both have the same background if the bug #795704 bug has solved then the export records issue has been automatically resolved.

Because currently in "unlimited" option only displayed the 50 records so if you select the "unlimited" in search and then exported the data you will see only 50 records exported which is already discussed ago in Lp. Due to the speed problem we have set that the only 50 records are displayed in "unlimited" search please check this also bug #699960

But as per my opinion we have to display maximum record in "unlimited" search option either display all record or maximum like 500.

You can test another way select the limit either "100" or "500" then exports the data then all records will be exported successfully so when you exports the record the first page's record will exported.

That's why the problems are not in export it is related to the "unlimited" search.

So finally I have make this bug to duplicate as a bug #795704.

Thanks for understanding!

Revision history for this message
Stéphane Bidoul (Acsone) (sbi) wrote :

Hi Amit,

IMHO, these issues are not related. Because export should not be related to the pages that are displayed.

Imagine for instance we have a large list with 1000 and 10000 records. If we want to export all items, the current behaviour would mean we need to first select unlimited to display them all, and then export. If that might work with 1000 items, it would be slow, and probably would not work at all with 10000 items (especially if unlimited actually means a "hard" limit).

Since the creation of the CSV file is normally a server operation, however, it would work quite nicely to create the CSV file with 10000 lines, and then let the browser download it.

So IMO, the export function should ignore the paging option of the client.

Best regards,

-sbi

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.