summaryrefslogtreecommitdiff
path: root/doc/reference/data.rst
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2016-10-11 11:11:52 +0200
committerMartin Trigaux <mat@odoo.com>2016-10-11 12:09:27 +0200
commit95280245367da42fead8be9892079a5795171fd0 (patch)
tree072b5191d1ee1e30e8b5fa1cf23f8e5353a3c06e /doc/reference/data.rst
parentacaf0f1e190326775e5bcd93daf4146e320e27e5 (diff)
[FIX] doc: building correctly autoclass references
Diffstat (limited to 'doc/reference/data.rst')
-rw-r--r--doc/reference/data.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/reference/data.rst b/doc/reference/data.rst
index cb17b7e866a..0b2338b6633 100644
--- a/doc/reference/data.rst
+++ b/doc/reference/data.rst
@@ -77,13 +77,13 @@ Nothing
Will evaluate the domain, search the field's model using it and set the
search's result as the field's value. Will only use the first result if
- the field is a :class:`~openerp.fields.Many2one`
+ the field is a :class:`~odoo.fields.Many2one`
``ref``
if a ``ref`` attribute is provided, its value must be a valid
:term:`external id`, which will be looked up and set as the field's value.
- Mostly for :class:`~openerp.fields.Many2one` and
- :class:`~openerp.fields.Reference` fields
+ Mostly for :class:`~odoo.fields.Many2one` and
+ :class:`~odoo.fields.Reference` fields
``type``
if a ``type`` attribute is provided, it is used to interpret and convert
the field's content. The field's content can be provided through an
@@ -253,14 +253,14 @@ For this case, data files can also use csv_, this is often the case for
Here's the first lines of the data file defining US states
``res.country.state.csv``
-.. literalinclude:: ../../openerp/addons/base/res/res.country.state.csv
+.. literalinclude:: ../../odoo/addons/base/res/res.country.state.csv
:language: text
:lines: 1-15
rendered in a more readable format:
.. csv-table::
- :file: ../../openerp/addons/base/res/res.country.state.csv
+ :file: ../../odoo/addons/base/res/res.country.state.csv
:header-rows: 1
:class: table-striped table-hover table-condensed