← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Naresh,

Thanks for catching this bug, but It seems to exist also without the patch applied.
So another problem, another patch... 
In this other patch we merely do nothing when the user cancel,
apparently no need to cancel the current model.
This patch need tests and review.

Hope this helps!

Thanks.

** Attachment added: "another patch"
   https://bugs.launchpad.net/openobject-client/+bug/750465/+attachment/2029480/+files/one2many_list.py.patch2

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