← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 750465] Re: cancel one2many edit dialog, asks user for saving

 

Hello Sylvain Calador,

I found a case after applying your patch
What  if a user  enters some value in an editable O2M list then he clicks the  edit button(folder Icon) and finally he clicks cancel. so he will lost  the changes he made before the pressing edit button. he needs to re enter the values.

eg: project task ---> enter a task work line --> save it --> change the
time spent value ----> press edit button of O2M(folder icon)--> click
cancel.


Thanks !

-- 
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/750465

Title:
  cancel one2many edit dialog, asks user for saving

Status in OpenERP GTK Client:
  Confirmed

Bug description:
  Hi,

  From an already saved record containing a one2many widget,
  when the user open a line in the one2many widget and just clicks cancel or close,
  and then try to close the parent record (by cliking next record's button for exemple),
  the user is asked for saving the record ("This record has been modified, do you want to save it ?")

  The expected behavior is not to ask when the record is not modified.

  Find a patch attached, which works for me, but need review.

  Thanks,

  Sylvain

  OpenERP - GTK Client - v6.0.2
  revno: 1827



References