summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2019-10-08 09:36:26 +0000
committerVictor Feyens <vfe@odoo.com>2019-10-08 09:36:59 +0000
commit09221fe2469f6a1ae9d09df60a6252ff3d3d2237 (patch)
treeb5a21331123c02d34e16339411209ba0e3fae460 /doc
parentdf38b57557c1255ffe82a4bca82af4085b6b403c (diff)
[FIX] doc: fix some sphinx warnings.
closes odoo/odoo#38170 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/orm.rst23
1 files changed, 11 insertions, 12 deletions
diff --git a/doc/reference/orm.rst b/doc/reference/orm.rst
index 0263058a26e..66f5b27f99a 100644
--- a/doc/reference/orm.rst
+++ b/doc/reference/orm.rst
@@ -608,7 +608,7 @@ Model Reference
.. currentmodule:: odoo.models
-.. autoclass:: odoo.models.Model
+.. autoclass:: Model
.. rubric:: Structural attributes
@@ -707,29 +707,28 @@ Model Reference
.. attribute:: _parent_name
- Alternative field to use as parent, used by indexed storage of the tree structure of records
- (default: ``'parent_id'``)
+ Alternative field to use as parent, used by indexed storage of the tree structure of records
+ (default: ``'parent_id'``)
:type: str
.. attribute:: _date_name
- Alternative field to use for default calendar view
- (default: ``'date'``)
+ Alternative field to use for default calendar view (default: ``'date'``)
- :type: str
+ :type: str
.. attribute:: _fold_name
- Alternative field to determine folded groups in kanban views
- (default: ``'fold'``)
+ Alternative field to determine folded groups in kanban views
+ (default: ``'fold'``)
- :type: str
+ :type: str
.. attribute:: _translate
- False disables translations export for this model
- (default: ``True``)
+ False disables translations export for this model
+ (default: ``True``)
:type: bool
@@ -869,7 +868,7 @@ Method decorators
=================
.. automodule:: odoo.api
- :members: model, depends, constrains, onchange, returns,
+ :members: model, depends, constrains, onchange, returns
.. _reference/orm/fields: