From 0ca820c1f00edcf8077875ed1dd39302819e2cf8 Mon Sep 17 00:00:00 2001 From: Brandon Mercier <113701731+bram-odoo@users.noreply.github.com> Date: Fri, 5 Sep 2025 08:59:23 +0000 Subject: [PATCH] [IMP] Odoo SaaS dump + Base/Inherited/Duplicated views closes odoo/documentation#14556 X-original-commit: ea0c7ccf3036d00bf2503250d0d593a815342e4a Signed-off-by: Brandon Mercier (bram) --- .../developer/howtos/website_themes/setup.rst | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/content/developer/howtos/website_themes/setup.rst b/content/developer/howtos/website_themes/setup.rst index 9d13d60d3..9de7d8e30 100644 --- a/content/developer/howtos/website_themes/setup.rst +++ b/content/developer/howtos/website_themes/setup.rst @@ -114,15 +114,23 @@ Static vs. Dynamic .. _website_themes/setup/databases/views/standard_vs_inherited : -Standard vs. Inherited -********************** +Base vs. Inherited vs. Duplicated +********************************* -- **Standard views** are base views implemented by Odoo. They are directly derived from their model. - You should never change them as they allow updating an Odoo database without overwriting a - client's modifications. -- **Inherited views** are duplicated views. Modifications always take place in an inherited view. If - there is a duplicate view, there will be two views with the same name in the database, but the - duplicated view will not have an ID like for standard view. +- **Base view:** View natively implemented by Odoo. It is directly derived from their model. + A base view should never be altered as it allows updating an Odoo database without overwriting a + client's modification. + +Modifications always take place in either a duplicated or inherited view with some differences: + +- **Inherited view** always has an `inherit_id` and applies modifications based on the source + code of the base view it inherits from. +- **Duplicated view** is a duplication from another one. Most of the time this kind of view is + created by Odoo when the end-user applies modifications through the Website Builder. This + mechanism prevents data loss when the module is updated because only the source view will be + updated, not the duplicated one. If a duplicated view exists, both the original view and the + duplicated one are visible in the list but only the duplicated one has an `external_id` (an + `external_id` set means that the view has been created by the source code of a module). .. _website_themes/setup/databases/import : @@ -143,7 +151,8 @@ Dump Odoo SaaS ********* -Go to `/saas_worker/dump`. +#. Log in to a user account with sufficient access rights. +#. Go to `/saas_worker/dump`. .. _website_themes/setup/databases/import/sh :