The aim of this commit is to provide better API points to be able to extend the behavior of the X2ManyField in conjunction with the ListRenderer. More precisely, we make possible to specify record by record if it should be edited/created inline or in a dialog. Part-of: odoo/odoo#97984 Co-authored-by: Lucas Perais (lpe) <lpe@odoo.com>