← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 677503] [NEW] new object is duplicated when exception is raised during direct confirmation

 

Public bug reported:

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.

** Affects: openobject-client-web
     Importance: Undecided
         Status: New

** Changed in: openobject-client-web
    Milestone: None => 6.0-rc2

-- 
new object is duplicated when exception is raised during direct confirmation
https://bugs.launchpad.net/bugs/677503
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Web Client: New

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.





Follow ups

References