Before this commit, when an error occurred during the installation of a data module, there was no displayed error nor a rollback to remove data already installed from the module. This commit makes sure that, if an error occurs, it is displayed through a UserError that will do a rollback to remove every record from the module. closes odoo/odoo#148823 Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com>