summaryrefslogtreecommitdiff
path: root/addons/crm/security/crm_security.xml
diff options
context:
space:
mode:
authorNasreddin (bon) <bon@odoo.com>2021-03-11 12:39:51 +0000
committerNasreddin (bon) <bon@odoo.com>2021-03-11 14:41:12 +0000
commitdf0381466ec3d94cc667702841c31a2dfd4af06a (patch)
tree25ce9785bd358d353a264a441c310e1db3d2988a /addons/crm/security/crm_security.xml
parent4bc92ec47d683a651441f3ae7b4cbd4bd22770bf (diff)
[FIX] crm: allow any users to see event with privacy="Everyone"
Issue - Create a database with 2 users - Open the calendar application and create a meeting for you and the other user - In the option: set Privacy to 'Everyone' set Show times as 'Free' - Send the invitation to the other user Access Error (rule: Hide Private Meetings) Cause The 'calendar_event_global' ir.rule is deprecated and related ir.rules are now in calendar module (crm.meeting -> calendar.event). Solution Remove rule since deprecated. opw-2469433 closes odoo/odoo#67688 X-original-commit: c2a3fdbc42e042440695c8a3fc3e657d910d2d5c Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com> Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
Diffstat (limited to 'addons/crm/security/crm_security.xml')
-rw-r--r--addons/crm/security/crm_security.xml7
1 files changed, 0 insertions, 7 deletions
diff --git a/addons/crm/security/crm_security.xml b/addons/crm/security/crm_security.xml
index 59f2c72d9bb..bfc5bf215c7 100644
--- a/addons/crm/security/crm_security.xml
+++ b/addons/crm/security/crm_security.xml
@@ -50,13 +50,6 @@
<field name="groups" eval="[(4, ref('sales_team.group_sale_salesman_all_leads'))]"/>
</record>
- <record id="calendar_event_global" model="ir.rule">
- <field name="name">Hide Private Meetings</field>
- <field ref="model_calendar_event" name="model_id"/>
- <field eval="1" name="global"/>
- <field name="domain_force">['|',('user_id','=',user.id),('show_as','=','busy')]</field>
- </record>
-
<record id="crm_activity_report_rule_all_activities" model="ir.rule">
<field name="name">All Activities</field>
<field ref="model_crm_activity_report" name="model_id"/>