Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] figures: deleting a sheet will remove all figures
when deleting a sheet, we expect all the figures of that sheet to be deleted. However overrides of figures might only implement "DELETE_FIGURE". Also, implementing correctly "DELETE_SHEET" in all plugins that extends figures means that they would have to use beforeHandle to store the references of the figures of the sheet to be deleted, then in the handle do the deleting based on the saved values. It's a bit ugly. From 16.0, we need to remove the figures in the beforeHandle because the figures themselves need the sheet to still be present to be removed. opw-3783745 closes #3836 X-original-commit: 61ee81f Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com> Signed-off-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
- Loading branch information