[trunk/7.0]can't save object with deleted invalid row in editable tree
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
When on a form view, a row in an editable tree is invalid and it is subsequently deleted, saving the parent object is blocked by an error message.
Steps to reproduce:
* log in on eg http://
* go to project -> tasks and open task eg "Customer analysis + Architecture"
* edit the task
* at the bottom under work summary, choose "Add an item"
* fill in "work summary" and "time spent", CLEAR the "Done by" field
* press save at the top of the page => you get an error: "The following fields are invalid: Done by" (this is expected)
* delete the just created row
* press save at the top of the page
=> you get an error: "The following fields are invalid: Work done" although there are no more invalid rows in this field.
extra info:
If you now add a valid row (with Done by filled in) saving will work again.
Related branches
- Xavier (Open ERP) (community): Needs Fixing
-
Diff: 12 lines (+2/-0)1 file modifiedaddons/web/static/src/js/view_list_editable.js (+2/-0)
Changed in openerp-web: | |
assignee: | nobody → OpenERP R&D Web Team (openerp-dev-web) |
importance: | Undecided → Low |
Changed in openerp-web: | |
assignee: | OpenERP R&D Web Team (openerp-dev-web) → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openerp-web: | |
status: | Confirmed → In Progress |
Hello,
Don't think that issue is "low", let's imagine you've the same error on a Sale Order.
If you cannot save the order after having spend minutes editing it, that's a bit frustrating.