Skip to content

Commit ccccf49

Browse files
committed
[IMP] reference/user_interface: reformat and clarify views reference
In particular, the following changes are made: - Use definition lists to define view types; - Use the `class` and `attribute` admonitions to define classes, views' root attributes, views' components, and attribute values; - Extract repetitive content to included RST files; - Restructure and rewrite the explanations, and insert necessary admonitions, when they lack clarity; - Display SVG images into dedicated admonitions; - Fix RST and English mistakes; - Rename `view_architecture` to `view_architectures`, as it lists all existing architectures; - Replace underscores with hyphens in image file names. task-3458320
1 parent 07bb9ec commit ccccf49

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+4282
-4303
lines changed

content/developer/reference/backend/data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Defines an ``ir.ui.menu`` record with a number of defaults and fallbacks:
236236
``template``
237237
------------
238238

239-
Creates a :ref:`QWeb view <reference/view_architecture/qweb>` requiring only the ``arch``
239+
Creates a :ref:`QWeb view <reference/view_architectures/qweb>` requiring only the ``arch``
240240
section of the view, and allowing a few *optional* attributes:
241241

242242
``id``

content/developer/reference/external_api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ Provides information about Odoo models via its various fields.
11121112
list of the model's fields through a :class:`~odoo.fields.One2many` to
11131113
:ref:`reference/webservice/inspection/fields`
11141114
``view_ids``
1115-
:class:`~odoo.fields.One2many` to the :doc:`../reference/user_interface//view_architecture`
1115+
:class:`~odoo.fields.One2many` to the :doc:`../reference/user_interface/view_architectures`
11161116
defined for the model
11171117
``access_ids``
11181118
:class:`~odoo.fields.One2many` relation to the

content/developer/reference/frontend/qweb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ Request-based
675675

676676
Most Python-side uses of QWeb are in controllers (and during HTTP requests),
677677
in which case templates stored in the database (as
678-
:ref:`views <reference/view_architecture/qweb>`) can be trivially rendered by calling
678+
:ref:`views <reference/view_architectures/qweb>`) can be trivially rendered by calling
679679
:meth:`odoo.http.HttpRequest.render`:
680680

681681
.. code-block:: python

content/developer/reference/user_interface.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ User interface
88
:titlesonly:
99

1010
user_interface/view_records
11-
user_interface/view_architecture
11+
user_interface/view_architectures
1212
user_interface/scss_inheritance
1313
user_interface/icons

content/developer/reference/user_interface/icons.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
:hide-page-toc:
22

3+
.. _reference/user_interface/ui_icons:
4+
35
========
46
UI icons
57
========

0 commit comments

Comments
 (0)