* 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):
> This is a patch that display deleted and removed lines in one2many and
> many2many. Those lines will appear greyed, once removed the delete
> button will turn to an undelete button allowing you to change your
> mind.
Just some thoughts without having time to test at once:
- Is this a switchable behavior? What will I do, if I don't want to
see deleted lines?
No. I think it is a better behavior as there is no confirmation for deleted
lines in xxx2many.
If you don't want to see deleted lines, just save the record they will be
gone.
I agree :).
- 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 ? 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.
What will happen otherwise with the
shortcuts related to the button?
It was missing (added comment).
I don't understand this issue.
--
Nicolas Évrard
B2CK SPRL
rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
E-mail/Jabber: [email protected]
Website: http://www.b2ck.com/
--
[email protected] mailing list