Before this commit, on editable quant view list, when user tries to create a duplicate line and save it with tab or enter key, the list tries to go to the next line. But sometime, this line was moved cause of the refresh, so it causes a JS error and raises a traceback. This fix avoid to try to select something in case we refresh the list. Task #2006337 closes odoo/odoo#33866 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>