All action buttons should be disabled in unsaved o2m record (popup)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Web Team |
Bug Description
When o2m record created in list-o2m and not saved yet (because parent has not been saved since record was created), buttons should all be disabled in o2m popup
Demo: Warehouse > Warehouse Management > Internal Moves
1. Create new internal move/picking (can save or not, should not matter)
2. Create new stock move (in o2m list)
Observed: "Confirm" button is clickable (enabled)
Expected: "Confirm" button should not be clickable (disabled) (see GTK client, same bug exists in 6.0 web client so it's going to be wrong as well)
3. Save stock move
4. Reopen stock move (still not saving without saving internal move/picking)
Observed: "Confirm button is still enabled (when there is not an error, which there currently is)
Expected: "Confirm button should still be disabled
5. Save parent (internal move/picking)
6. Reopen stock move again
7. Now button should be enabled
Related branches
- Nicolas Vanhoren (OpenERP) (community): Disapprove
-
Diff: 17 lines (+7/-0)1 file modifiedaddons/web/static/src/js/view_form.js (+7/-0)
Changed in openerp-web: | |
importance: | Low → Medium |
Changed in openerp-web: | |
assignee: | Nicolas Vanhoren (OpenERP) (niv-openerp) → OpenERP R&D Web Team (openerp-dev-web) |
Changed in openerp-web: | |
status: | Confirmed → In Progress |
Changed in openerp-web: | |
status: | Confirmed → In Progress |
Changed in openerp-web: | |
status: | Fix Released → Confirmed |
Changed in openerp-web: | |
status: | Confirmed → Fix Released |
Hello,
I have created a merge proposal for 6.0 and the branch is lp:~openerp-dev/openobject-client-web/6.0-bug-6179-msh.
Thanks.