[Trunk/7.0] "Save and New" triggers unwanted "record has been modified" JS popup

Bug #1159726 reported by Christophe Combelles
6
This bug affects 1 person
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

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)
Anand (anand-m-patel)
Changed in openerp-web:
status: Confirmed → In Progress
status: In Progress → Fix Committed
Anand (anand-m-patel)
Changed in openerp-web:
status: Fix Committed → Confirmed
Revision history for this message
Anand (anand-m-patel) wrote :

Hello,

this issue is no more reproducible in 7.0 with latest revision no: 3877.

Thanks

Changed in openerp-web:
status: Confirmed → In Progress
Anand (anand-m-patel)
Changed in openerp-web:
status: In Progress → Fix Committed
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.