From 1688a19266809d23f525563dbbb20175cbd8da83 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Thu, 4 Apr 2024 10:43:49 +0200 Subject: [PATCH] [FIX] website: prevent website duplicate from form view At the moment, duplicating a website is not possible in the sense of duplicating content, pages, etc. It is still available as an action from the form view, and it could make sense to start up a new website with a few common values (social media? etc?)... but many of website fields are technical fields that should not be copied and many are dubious to copy and not even visible in the form view. Really, duplicating a website at the moment is misleading. This commit disables the possibility from the form view. In the future, we want to focus on the ability to export / import a full website, but that's not for now. opw-3782830 closes odoo/odoo#160587 X-original-commit: 43971a22c56b197306060ac3be7903d36d2c4be9 Signed-off-by: Romain Derie (rde) Signed-off-by: Quentin Smetz (qsm) --- addons/website/views/website_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/views/website_views.xml b/addons/website/views/website_views.xml index f0d44c6311b..c2e6ac3e853 100644 --- a/addons/website/views/website_views.xml +++ b/addons/website/views/website_views.xml @@ -22,7 +22,7 @@ website.form website -
+