c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #07259
[Bug 677503] Re: new object is duplicated when exception is raised during direct confirmation
Hello Julien Thewys,
It has been fixed by revision:4066
vda@xxxxxxxxxxx-20101209072156-p0f2t7al3zkjbrco
Please update your code.
Thanks.
** Changed in: openobject-client-web
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/677503
Title:
new object is duplicated when exception is raised during direct confirmation
Status in OpenObject Web Client:
Fix Released
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.
References