[6.1] [list] drag and drop reordering: allow reordering but does not save it in page view
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) | Status tracked in Trunk | |||||
6.1 |
Confirmed
|
Low
|
OpenERP Publisher's Warranty Team | |||
Trunk |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello,
Here is an issue I could just reproduce on runbot, with the 6.1 version.
Context:
I'm on a page view, which contains a one2many field with a sequence.
Actual :
I can drag & drop the lines of the one2many field in order to change the order of the lines.
The line I moved stay where I dropped it and the sequence numbers are updated on the view in order to reflect the new positions of the lines.
When I leave or refresh the page, the positions are reset to their original position.
This is really confusing because you are able to modify something and so you think that it will update the data (as when you move an item on a kanban view)
Expected:
Solution 1: each time I move a line, the new positions are saved
Solution 2: I should not be able to drag & drop the lines on the page view
To reproduce:
- On runbot.openerp.com, I open a product
- I go to the Suppliers tab
- If it has no or one supplier only, I edit the product to add some
- I save it so I'm on the page view again
- I drag & drop the lines to reorder them -> sequence numbers are updated on my screen and lines are moved
- I refresh the page -> sequence numbers reset
Best Regards
Guewen
Related branches
- Guewen Baconnier @ Camptocamp (community): Approve
- Jiten (OpenERP) (community): Approve
- OpenERP Core Team: Pending requested
-
Diff: 24 lines (+2/-1)2 files modifiedaddons/web/static/src/js/view_form.js (+1/-0)
addons/web/static/src/js/view_list.js (+1/-1)
Changed in openerp-web: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → OpenERP R&D Web Team (openerp-dev-web) |
Changed in openerp-web: | |
status: | Invalid → Confirmed |
Changed in openerp-web: | |
assignee: | OpenERP R&D Web Team (openerp-dev-web) → OpenERP Publisher's Warranty Team (openerp-opw) |
status: | Invalid → New |
tags: | added: maintenance |
summary: |
- [Trunk/7.0/6.1] [list] drag and drop reordering: allow reordering but - does not save it in page view + [6.1] [list] drag and drop reordering: allow reordering but does not + save it in page view |
We have a task to review the dr&g&drop feature, so I drop this bug.