[FIX] doc: correct reference to the line in the file

Introduced at 94e82753ac
This commit is contained in:
Martin Trigaux
2018-10-23 16:17:58 +02:00
parent a0050c323c
commit d5cc05c994
+3 -3
View File
@@ -942,17 +942,17 @@ them (e.g. to change their default sort order):
.. literalinclude:: ../../odoo/addons/test_documentation_examples/extension.py .. literalinclude:: ../../odoo/addons/test_documentation_examples/extension.py
:language: python :language: python
:lines: 5- :lines: 7-
.. literalinclude:: ../../odoo/addons/test_documentation_examples/tests/test_extension.py .. literalinclude:: ../../odoo/addons/test_documentation_examples/tests/test_extension.py
:language: python :language: python
:lines: 8,13 :lines: 10,15
will yield: will yield:
.. literalinclude:: ../../odoo/addons/test_documentation_examples/tests/test_extension.py .. literalinclude:: ../../odoo/addons/test_documentation_examples/tests/test_extension.py
:language: text :language: text
:lines: 11 :lines: 13
.. note:: it will also yield the various :ref:`automatic fields .. note:: it will also yield the various :ref:`automatic fields
<reference/orm/model/automatic>` unless they've been disabled <reference/orm/model/automatic>` unless they've been disabled