7.0: pagination problem in partial picking wizard display

Bug #1239851 reported by Alexandre Fayolle - camptocamp
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Low
OpenERP Publisher's Warranty Team

Bug Description

Steps to reproduce on runbot

1. create and confirm a stock picking with 85 move lines
2. force availability if necessary
3. launch processing wizard for the picking

You get a window displaying the first 80 moves in the picking, with arrows to move to navigate in the page.

4. go to the next page : you see the moves 81 to 85.
5. delete each of these moves one by one by clicking on the garbage can.

Expected behavior:

When I delete the 81st move, the screen should either be empty, with navigation arrows to go back to the 1st page, or the 1st page should be displayed automatically.

Actual behavior:

I get an empty page with no arrows and no moves, so it is impossible to get back to the 1st page to select which lines are received.

A related issue

step 1->3 identical
4. delete the first row of the first page

Expected behavior: the pagination browser is updated from 1-80 of 85 to 1-79 of 84

Actual behavior: the pagination browser is updated from 1-80 of 85 to 1-80 of 84 which is incorrect as only 79 lines are displayed

5. delete 4 more rows in the first page

Expected behavior: pagination browser updated to 1-75 of 80
Actual behavior: pagination browser disapears. The last 5 lines are unreachable

6. delete all the rows in the first page save 1 (if you delete them all, you get back to the 1st issue)
7. click the "Process" button

The 6 move lines are processed, which can be surprising to the user who has not visual information about the 5 hidden moves.

Tags: maintenance

Related branches

Changed in openerp-web:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

Here's a short video presenting some of issues I experience with patch lp:~openerp-dev/openerp-web/7.0-opw-599269-msh

I have a stock.picking.in with 82 move lines

1. When I start receiving it, and I delete one of the lines on the 1st page, the counter is updated from 1-80 of 82 to 1-80 of 81 (time 00:15 in the video). This is wrong as there are only 79 lines displayed on the screen. It should read 1-79 of 81.

2. then I more lines but from the first page . The counter disapears as soon as I've deleted the 2nd line (0:17). This means that from then it is not possible to view the records on the second page.

3. I leave only 2 lines on the first page (0:43). By then, I have not idea how many records I have since there is no indications. There could be 80 more records on the second page and I would not know about it.

4. I click the receive button (0:51). Suddenly 2 more lines appear on screen! And then I get an error message (expected because this product is configured to track incoming lots, this is not part of the bug report).

Changed in openerp-web:
status: New → Fix Committed
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello Alexandre,

We have merged Mohammed's fix to the pager. Thanks for the report.

revno: 4150 [merge]
revision-id: <email address hidden>

Changed in openerp-web:
importance: Undecided → Low
status: Fix Committed → Fix Released
no longer affects: ocb-web/7.0
no longer affects: ocb-web
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.