On 27/01/11 20:45 +0100, Nicolas Évrard wrote: > * Cédric Krier [2011-01-27 19:04 +0100]: > >On 27/01/11 18:38 +0100, Mathias Behrle wrote: > >> * Betr.: " [tryton-dev] Display deleted lines in One2Many and Many2Many > >> (issue3977047)" (Thu, 27 Jan 2011 17:24:09 +0100): > > >> - What will happen, when I want to delete just some more lines, but I get > >> presented the undelete button? > > > >The button change depending of the line selected. > >(I put a comment to fix the patch on multi-selection) > > I don't think there is any good beahavior when on multi-selection. > If you select one deleted line and one normal line which button should > be displayed ?
I think it will be better if we could show both buttons. > The current behavior is to display one button (or the > other) according to the order you selected the lines. > > The important thing in this case is that deleting deleted lines does > not generate bug and undeleting normal lines neither. And I don't > think we should go farther than that. Yes like that you can show both buttons :-) > > >> What will happen otherwise with the > >> shortcuts related to the button? > > > >It was missing (added comment). > > I don't understand this issue. In Tryton normally you should be able to work with only keyboard (w/o mouse). So there is a shortcut in list view for delete button it is the "Delete" keypress. I think we could use the "Insert" keypress for undelete button. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpmlLhqx0sHg.pgp
Description: PGP signature
