[Trunk/7.0] "Save and New" triggers unwanted "record has been modified" JS popup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP R&D Web Team |
Bug Description
How to reproduce :
- install a new database
- put the administrator in the "technical features" group
- Go to Settings → Technical → Workflows → Workflows
- Create a new workflow, just fill the name and the Resource object
- Click on Save
- Click on Edit again
- Click on ""Add an item" to add an activity
- Fill in the name and the workflow of the activity
- Click on the "Save and New" button
A Js popup appears :
« Warning, the record has been modified, your changes will be discarded.
Are you sure you want to leave this page ? »
This popup shouldn't appear, because we are not leaving or discarding the changes but we want to store and create a new one.
We got this problem also on a client module with completely different context. We didn'nt have time to investigate, but it seems the "dirty"flag is incorrectly set at some time.
Related branches
- OpenERP R&D Web Team: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifiedaddons/web/static/src/js/view_form.js (+1/-0)
description: | updated |
summary: |
- "Save and New" triggers unwanted "record has been modified" JS popup + [Trunk/7.0] "Save and New" triggers unwanted "record has been modified" + JS popup |
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: | Confirmed → In Progress |
status: | In Progress → Fix Committed |
Changed in openerp-web: | |
status: | Fix Committed → Confirmed |
Changed in openerp-web: | |
status: | In Progress → Fix Committed |
Hello,
this issue is no more reproducible in 7.0 with latest revision no: 3877.
Thanks