[FIX] doc: fix some sphinx warnings.

closes odoo/odoo#38170

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Victor Feyens
2019-10-08 09:36:59 +00:00
parent df38b57557
commit 09221fe246
+11 -12
View File
@@ -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: