Before this commit, clicking on the "add a line" button on a many2many list field directly opened the dialog without switching the form into edit mode. This is incorrect, the form needs to switch into edit mode otherwise the selected records are saved and cannot be discarded. closes odoo/odoo#67919 X-original-commit: 3608e724c6099f0eff5f14cbd844e0d7507d0d1d Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>