[IMP] website: Revamp website settings

Simplify settings of website & website_sale;
- understandable
- relevant
- correctly ordered

Part-of: odoo/odoo#82999
This commit is contained in:
Yannick Tivisse
2022-02-08 14:53:39 +00:00
parent 86ea0da6f6
commit 73483c8e5a
28 changed files with 921 additions and 693 deletions
@@ -37,10 +37,8 @@ BaseSettingController.include({
* @override
*/
_onButtonClicked: function (ev) {
if (ev.data.attrs.name === 'website_go_to'
|| ev.data.attrs.name === 'action_open_robots'
|| ev.data.attrs.name === 'action_ping_sitemap'
|| ev.data.attrs.name === 'install_theme_on_current_website') {
if (ev.data.attrs.name === 'action_open_robots'
|| ev.data.attrs.name === 'action_ping_sitemap') {
FormController.prototype._onButtonClicked.apply(this, arguments);
} else {
this._super.apply(this, arguments);