Hi Sylvain Calador,

Thanks for the work done !

Yup the patch is too complicated, I tested just found one case where it creates 
a problem,
use case:
open a product. go to suppliers tab add a supplier (dont add pricelist) save 
the product.
now edit the supplier and add pricelist just enter the quantity and click 
cancel. when you re-edit the supplier you will see the pricelist that you 
canceled is already saved ! 

Sylvain, the cases are quite tricky. we need to find easy solution.
something using the editable property of the list view. because non
editable we can just cancel the changes. or something better

Thanks !

-- 
You received this bug notification because you are a member of OpenERP
sa GTK client R&D, which is a bug assignee.
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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to