7.0: pagination problem in partial picking wizard display
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.
Related branches
- Martin Trigaux (OpenERP) (community): Approve
- Alexandre Fayolle - camptocamp (community): Approve (code review, test)
- Nicolas Vanhoren (OpenERP): Pending requested
- Xavier (Open ERP): Pending requested
-
Diff: 32 lines (+14/-1)1 file modifiedaddons/web/static/src/js/view_list.js (+14/-1)
- Holger Brunn (Therp): Approve (code review)
-
Diff: 32 lines (+14/-1)1 file modifiedaddons/web/static/src/js/view_list.js (+14/-1)
Changed in openerp-web: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openerp-web: | |
status: | New → Fix Committed |
no longer affects: | ocb-web/7.0 |
no longer affects: | ocb-web |
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).