diff options
| author | Victor Feyens <vfe@odoo.com> | 2019-09-12 11:43:09 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2019-11-18 12:25:05 +0000 |
| commit | 3455d02189ef8879c8e7f331d159bbd3c1c7b949 (patch) | |
| tree | 50496f88275b9fc386ada4b24f4080dd3c257ab7 /odoo/api.py | |
| parent | ef20d818ea878d23abb27ce86f240277d9d707b4 (diff) | |
[IMP] base: remove force_company
From now on, if one wants to force following operations to happen in a given company,
use with_company(company) or with_company(cid) to update the environment.
Diffstat (limited to 'odoo/api.py')
| -rw-r--r-- | odoo/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/api.py b/odoo/api.py index f90bed82585..ebda349fe61 100644 --- a/odoo/api.py +++ b/odoo/api.py @@ -225,7 +225,7 @@ def depends_context(*args): All dependencies must be hashable. The following keys have special support: - * `force_company` (value in context or current company id), + * `company` (value in context or current company id), * `uid` (current user id and superuser flag), * `active_test` (value in env.context or value in field.context). """ |
