diff options
| author | Victor Feyens <vfe@odoo.com> | 2019-11-19 15:25:40 +0000 |
|---|---|---|
| committer | Antoine Vandevenne (anv) <anv@odoo.com> | 2019-11-28 10:16:48 +0000 |
| commit | 5a1d603c5f437f9f05da3b6d5be70929fe8c7fca (patch) | |
| tree | d86072b81f2405aa7b7002615c32f1131c60ab50 /doc/reference | |
| parent | 2e34d456e80ec6f8aed35cf7864ba7ce17f62f5f (diff) | |
[ADD] doc: multi-company howtos
closes odoo/odoo#41038
X-original-commit: eaabad20516a73a97b23343a22357659c29945f7
Signed-off-by: Antoine Vandevenne (anv) <AntoineVDV@users.noreply.github.com>
Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/orm.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/reference/orm.rst b/doc/reference/orm.rst index d9e9a715a57..7075b3a782a 100644 --- a/doc/reference/orm.rst +++ b/doc/reference/orm.rst @@ -402,6 +402,16 @@ behavior is desired: :class:`~odoo.fields.Char` +.. attribute:: company_id + + Main field name used for Odoo multi-company behavior. + + Used by `:meth:~odoo.models._check_company` to check multi company consistency. + Defines whether a record is shared between companies (no value) or only + accessible by the users of a given company. + + :class:`~odoo.fields.Many2one` + :type: :class:`~odoo.addons.base.models.res_company` Recordsets ========== |
