summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-10-23 18:02:45 +0200
committerChristophe Simonis <chs@odoo.com>2018-10-23 18:02:45 +0200
commitce2eb8464b4387e98cd3b1081340cdebb586f2b3 (patch)
tree416031da80cbd85804f2b1ff48ccd6f763dab3b3 /doc/reference
parentef670016e6df436e30fef12d1915c6cec2b9d62a (diff)
parentd5cc05c9948c744f8f011250380cea20f9f859b2 (diff)
[MERGE] forward port branch 10.0 up to d5cc05c9948
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 bec009411b7..a8a95895b01 100644
--- a/doc/reference/orm.rst
+++ b/doc/reference/orm.rst
@@ -942,17 +942,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