From 09221fe2469f6a1ae9d09df60a6252ff3d3d2237 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Tue, 8 Oct 2019 09:36:26 +0000 Subject: [PATCH] [FIX] doc: fix some sphinx warnings. closes odoo/odoo#38170 Signed-off-by: Victor Feyens (vfe) --- doc/reference/orm.rst | 23 +++++++++++------------ 1 file 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: