summaryrefslogtreecommitdiff
path: root/odoo/addons/base/security
diff options
context:
space:
mode:
authorPrakash Prajapati <ppr@odoo.com>2019-07-25 13:18:36 +0000
committerYannick Tivisse <yti@odoo.com>2019-08-16 11:14:58 +0000
commit25714692b23624d04a43862db26ebcf802b89399 (patch)
tree9edfc564290e699356bd25c5292191d29ce163cf /odoo/addons/base/security
parent69f192eeef40534f2d64d34e8525291b9fed026c (diff)
[IMP] base: remove the 'Shared contacts book' general setting
The Common partner contact setting is removed from general settings because its behavior wasn't really clean from a technical point of view (disabling the rule on partner access) and wouldn't work as well with new multi-company logic. The default logic of sharing partner will be kept, but when someone wants to limit partner sharing, he will do so partner by partner, by setting the company_id. Also, the default company_id on a partner will be blank so default partner will be a sharable by multi-company. when the partner is created at the time of user creation then the partner's company will be the same as user's company.and when the partner is created at the time of company creation(partner related to company) then the company of partner will be newly created company. task-2024446 Closes: #35266
Diffstat (limited to 'odoo/addons/base/security')
-rw-r--r--odoo/addons/base/security/base_security.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/odoo/addons/base/security/base_security.xml b/odoo/addons/base/security/base_security.xml
index 88872f49407..47c0abb381e 100644
--- a/odoo/addons/base/security/base_security.xml
+++ b/odoo/addons/base/security/base_security.xml
@@ -16,7 +16,6 @@
<field name="name">res.partner company</field>
<field name="model_id" ref="base.model_res_partner"/>
<field name="domain_force">['|', ('company_id', 'in', company_ids), ('company_id', '=', False)]</field>
- <field name="active" eval="False"/>
</record>
<record model="ir.rule" id="res_partner_portal_public_rule">