new object is duplicated when exception is raised during direct confirmation
Bug #677503 reported by
Julien Thewys
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Fix Released
|
Low
|
OpenERP R&D Web Team |
Bug Description
This bug is not present in GTK client.
Tested in Chrome and FF.
How to reproduce?
For example, use hr_holidays and create a leave (holiday) request for which an exception would be raised not on the write but on the confirm method (for example not enough days allowed for this leave type). Do not save it, just click confirm directly. Close the exception message, correct the form then click confirm again.
What should happen?
The leave request (that was is exception but is now valid) is saved and confirmed.
What happens instead?
The initial invalid leave request has been save in draft mode and a _new_ valid leave request has been saved and confirmed.
Related branches
Changed in openobject-client-web: | |
milestone: | none → 6.0-rc2 |
Changed in openobject-client-web: | |
assignee: | nobody → OpenERP SA's Web Client R&D (openerp-dev-web) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-client-web: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello Julien Thewys,
It has been fixed by revision:4066
<email address hidden>
Please update your code.
Thanks.