diff options
| author | wan <wan@odoo.com> | 2020-01-09 09:17:48 +0000 |
|---|---|---|
| committer | wan <wan@odoo.com> | 2020-02-03 10:46:00 +0000 |
| commit | 3b333b267522ca9680e54f10bb4dbd6c29070f58 (patch) | |
| tree | 7d0f246e6da87c7db2a5232f9262c1482ca05eaa /odoo/addons/base/data | |
| parent | f27e845bb0ff9858e529c264b0bea733424647b8 (diff) | |
[FIX] base: company_id on res.partner associated to company
The fact that there is a company id set means that you cannot select the
partner in a M2o if you didn't select the company in the selector, and
that you cannot open a document where that partner is set if you are not
in the correct company.
This is an issue for inter_company_rules, as you should be able to
select the company to make a so, po or invoice to a company of the same
database.
Diffstat (limited to 'odoo/addons/base/data')
| -rw-r--r-- | odoo/addons/base/data/res_company_data.xml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/odoo/addons/base/data/res_company_data.xml b/odoo/addons/base/data/res_company_data.xml index 36c3eda67b3..3854b7bc55b 100644 --- a/odoo/addons/base/data/res_company_data.xml +++ b/odoo/addons/base/data/res_company_data.xml @@ -17,9 +17,5 @@ <field name="type">binary</field> <field name="url">/web/static/src/scss/report_styles.scss</field> </record> - - <record id="main_partner" model="res.partner"> - <field name="company_id" ref="main_company"/> - </record> - </data> + </data> </odoo> |
