Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] website: delete page on cascade when deleting a website
The user is never able to delete a website, since there is at least one page, the homepage, which is bootstraped during website creation. From that point, even if nothing was done on that website, it was not possible to remove it. As website deletion is already a technical thing (debug mode), and since website.page do not make sense without their website, removing those on cascade will allow the user to remove a non-modified website. task-2092845 closes odoo#44957 Signed-off-by: Romain Derie <[email protected]>
- Loading branch information