summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-11-06 16:40:07 +0100
committerChristophe Simonis <chs@odoo.com>2018-11-06 16:40:07 +0100
commitb106b7ce0bfac5d4f955dc98be9a35d79e0947ff (patch)
tree48bb187b80b2b10f7a1d76bf5116bf3ea16669a2 /doc/reference
parent478691b95de9eb0d03c145e547a773de40ca9a4d (diff)
parentdd70c684268b538f02ea4fa0425f9b70136b3300 (diff)
[MERGE] forward port branch 12.0 up to dd70c684268
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/orm.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference/orm.rst b/doc/reference/orm.rst
index 260bf333b38..05254797ee8 100644
--- a/doc/reference/orm.rst
+++ b/doc/reference/orm.rst
@@ -1010,17 +1010,17 @@ them (e.g. to change their default sort order):
.. literalinclude:: ../../odoo/addons/test_documentation_examples/extension.py
:language: python
- :lines: 5-
+ :lines: 7-
.. literalinclude:: ../../odoo/addons/test_documentation_examples/tests/test_extension.py
:language: python
- :lines: 8,13
+ :lines: 10,15
will yield:
.. literalinclude:: ../../odoo/addons/test_documentation_examples/tests/test_extension.py
:language: text
- :lines: 11
+ :lines: 13
.. note:: it will also yield the various :ref:`automatic fields
<reference/orm/model/automatic>` unless they've been disabled