Before this commit, when pasting multiples lines a new step per line. So when performing an undo, only one line was removed instead of the whole pasted text. task-2833740 closes odoo/odoo#89932 X-original-commit: 06fb4e3e8377dedb02644779f0077e0d883df918 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>