← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Naresh,

Please find attached a much more tested patch.
This patch should be able to cancel all type of fields.
The patch is a bit more complex, but should do the work,
even for a nested O2MField like the one installed 
in partner form by the "base_contact" module.

Hope I didn't forget anything this time...

Thanks advices, tests and review!

Sylvain

** Patch added: "the patch"
   https://bugs.launchpad.net/openobject-client/+bug/750465/+attachment/2087005/+files/one2many_list.py.patch

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