From 5813e4b51aeb70f0bd3198f1616bc6b8c363776b Mon Sep 17 00:00:00 2001 From: fdardenne Date: Fri, 8 Sep 2023 11:32:39 +0200 Subject: [PATCH] [IMP] Views howtos: add details on how to use a view in arch closes odoo/documentation#5778 X-original-commit: c1c04f90a817536b9cfb8feeb24a562e735abe43 Signed-off-by: Florent Dardenne (dafl) --- content/developer/howtos/javascript_view.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/content/developer/howtos/javascript_view.rst b/content/developer/howtos/javascript_view.rst index eba0ed1a1..f43b3a5f0 100644 --- a/content/developer/howtos/javascript_view.rst +++ b/content/developer/howtos/javascript_view.rst @@ -253,10 +253,16 @@ Creating a new view is an advanced topic. This guide highlight only the essentia registry.category("views").add("beautifulView", beautifulView); -#. Use the view in an arch. +#. Declare the :ref:`view ` in the arch. .. code-block:: xml ... - + + my_view + my_model + + + + ...