← Back to team overview

openerp-dev-web team mailing list archive

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

 

** Changed in: openobject-client-web
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of OpenERP
SA's Web Client R&D, which is a bug assignee.
https://bugs.launchpad.net/bugs/677503

Title:
  new object is duplicated when exception is raised during direct confirmation

Status in OpenObject Web Client:
  In Progress

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.