[trunk/7.0]can't save object with deleted invalid row in editable tree

Bug #1103507 reported by Simon
12
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

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://7-0-2197.runbot.openerp.com/
* 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.

Tags: maintenance

Related branches

Revision history for this message
Farid Ghanchi (gfarid) wrote :
Changed in openerp-web:
status: New → Confirmed
summary: - can't save object with deleted invalid row in editable tree
+ [trunk/7.0]can't save object with deleted invalid row in editable tree
Amit Parik (amit-parik)
Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Low
Revision history for this message
Antoine(OpenERP) (ahu-openerp) wrote :

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.

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
Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Should be fixed in 7.0 as of revision <email address hidden>

Changed in openerp-web:
status: In Progress → Fix Released
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.