summaryrefslogtreecommitdiff
path: root/doc/reference/actions.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/actions.rst
parentacaf0f1e190326775e5bcd93daf4146e320e27e5 (diff)
[FIX] doc: building correctly autoclass references
Diffstat (limited to 'doc/reference/actions.rst')
-rw-r--r--doc/reference/actions.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/reference/actions.rst b/doc/reference/actions.rst
index 7a796c59322..221c01ecfe6 100644
--- a/doc/reference/actions.rst
+++ b/doc/reference/actions.rst
@@ -52,7 +52,7 @@ Its fields are:
an optional database id (or ``False``). If no id is provided, the client
should fetch the default view of the specified type for the requested
model (this is automatically done by
- :meth:`~openerp.models.Model.fields_view_get`). The first type of the
+ :meth:`~odoo.models.Model.fields_view_get`). The first type of the
list is the default view type and will be open by default when the action
is executed. Each view type should be present at most once in the list
``res_id`` (optional)
@@ -248,8 +248,8 @@ from the UI, but not from :ref:`data files <reference/data>`.
``object_create``
-----------------
-Creates a new record, from scratch (via :meth:`~openerp.models.Model.create`)
-or by copying an existing record (via :meth:`~openerp.models.Model.copy`)
+Creates a new record, from scratch (via :meth:`~odoo.models.Model.create`)
+or by copying an existing record (via :meth:`~odoo.models.Model.copy`)
``use_create``
the creation policy, one of:
@@ -264,7 +264,7 @@ or by copying an existing record (via :meth:`~openerp.models.Model.copy`)
copies an other record, obtained via ``ref_object``
``fields_lines``
fields to override when creating or copying the record.
- :class:`~openerp.fields.One2many` with the fields:
+ :class:`~odoo.fields.One2many` with the fields:
``col1``
``ir.model.fields`` to set in the model implied by ``use_create``
@@ -278,7 +278,7 @@ or by copying an existing record (via :meth:`~openerp.models.Model.copy`)
model in which to create a new record, if ``use_create`` is set to
``new_other``
``ref_object``
- :class:`~openerp.fields.Reference` to an arbitrary record to copy, used if
+ :class:`~odoo.fields.Reference` to an arbitrary record to copy, used if
``use_create`` is set to ``copy_other``
``link_new_record``
boolean flag linking the newly created record to the current one via a
@@ -330,7 +330,7 @@ one will be returned to the client as the multi's own next action
Sends a signal to a workflow.
``wkf_transition_id``
- :class:`~openerp.fields.Many2one` to a ``workflow.transition`` to trigger
+ :class:`~odoo.fields.Many2one` to a ``workflow.transition`` to trigger
``use_relational_model``
if ``base`` (the default), trigger the signal on behalf of the current
record. If ``relational``, trigger the signal on behalf of a field of the
@@ -388,10 +388,10 @@ Triggers the printing of a report
``report_name``
the name of your report (which will be the name of the PDF output)
``groups_id``
- :class:`~openerp.fields.Many2many` field to the groups allowed to view/use
+ :class:`~odoo.fields.Many2many` field to the groups allowed to view/use
the current report
``paperformat_id``
- :class:`~openerp.fields.Many2one` field to the paper format you wish to
+ :class:`~odoo.fields.Many2one` field to the paper format you wish to
use for this report (if not specified, the company format will be used)
``attachment_use``
if set to ``True``, the report is only generated once the first time it is