summaryrefslogtreecommitdiff
path: root/doc/reference/guidelines.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/guidelines.rst')
-rw-r--r--doc/reference/guidelines.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/reference/guidelines.rst b/doc/reference/guidelines.rst
index 207faa082bb..058fe7ffb1c 100644
--- a/doc/reference/guidelines.rst
+++ b/doc/reference/guidelines.rst
@@ -163,7 +163,9 @@ To declare a record in XML, the **record** notation (using *<record>*) is recomm
- Try to group the record by model. In case of dependencies between
action/menu/views, this convention may not be applicable.
- Use naming convention defined at the next point
-- The tag *<data>* is only used to set not-updatable data with ``noupdate=1``
+- The tag *<data>* is only used to set not-updatable data with ``noupdate=1``.
+ If there is only not-updatable data in the file, the ``noupdate=1`` can be
+ set on the ``<odoo>`` tag and do not set a ``<data>`` tag.
.. code-block:: xml