summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorMoisés López <moylop260@vauxoo.com>2017-07-10 21:52:35 -0500
committerMartin Trigaux <mat@odoo.com>2017-07-13 17:15:51 +0200
commitca82c77d48f88ea4de708fcbc8dedfde30e30269 (patch)
tree8421b82214fbe129145e8cd32ccc893c3bacad1a /doc/reference
parent3073bf0f542402dea034f74012a3c1f90ea70412 (diff)
[IMP] doc: remove <data> tag from xml files
Because now is no longer required Closes #18144
Diffstat (limited to 'doc/reference')
-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