From a6778a60689d3b2e23ecec479c5e7598133bb752 Mon Sep 17 00:00:00 2001 From: Brandon Mercier <113701731+bram-odoo@users.noreply.github.com> Date: Mon, 24 Feb 2025 13:24:40 +0100 Subject: [PATCH] [IMP] Small corrections - Reorder the Xpath examples. - Add an explanation for the move directive --- .../howtos/website_themes/layout.rst | 92 +++++++++++++------ 1 file changed, 63 insertions(+), 29 deletions(-) diff --git a/content/developer/howtos/website_themes/layout.rst b/content/developer/howtos/website_themes/layout.rst index 3b5c79d71..689771d95 100644 --- a/content/developer/howtos/website_themes/layout.rst +++ b/content/developer/howtos/website_themes/layout.rst @@ -41,8 +41,8 @@ an `` tag. .. note:: - Using precise file names is important to find information through all modules quickly. File names - should only contain lowercase alphanumerics and underscores. + Using precise template names is important to find information through all modules quickly. + Template names should only contain lowercase alphanumerics and underscores. Always add an empty line at the end of your file. This can be done automatically by configuring your IDE. @@ -71,7 +71,7 @@ A view is coded the following way. * - id - ID of the modified view * - inherited_id - - ID of the standard view + - ID of the standard view (using the following pattern: `module.template`) * - name - Human-readable name of the modified view @@ -162,32 +162,6 @@ below: - Adds the XPath content inside an attribute. .. example:: - This XPath adds a `
` before the `