summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2020-02-05 12:05:53 +0000
committerRomain Derie <rde@odoo.com>2020-02-10 15:48:36 +0000
commite05bf2e230adbce427d92fd3b5e6b96c89c78370 (patch)
tree6e75236afd107e95bd3a0f8a992b1e421444d127 /addons/web/static/src/js/views/basic/basic_model.js
parent9894b36ea73ac0cbb7bb9254a6f9e2f32f605f64 (diff)
[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/odoo#45018 X-original-commit: ba6206baae7e3defbb6d28bcfe48eb5bed38d4c7 Signed-off-by: Romain Derie <rdeodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions