summaryrefslogtreecommitdiff
path: root/addons/event_crm/security/event_crm_security.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/event_crm/security/event_crm_security.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/event_crm/security/event_crm_security.xml')
-rw-r--r--addons/event_crm/security/event_crm_security.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/event_crm/security/event_crm_security.xml b/addons/event_crm/security/event_crm_security.xml
new file mode 100644
index 00000000..6c7c9f52
--- /dev/null
+++ b/addons/event_crm/security/event_crm_security.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <data noupdate="0">
+ <record id="ir_rule_event_crm" model="ir.rule">
+ <field name="name">Event CRM: Multi Company</field>
+ <field name="model_id" ref="model_event_lead_rule"/>
+ <field name="groups" eval="[(4, ref('base.group_multi_company'))]"/>
+ <field name="domain_force">['|', ('company_id','=',False), ('company_id', 'in', company_ids)]</field>
+ </record>
+ </data>
+</odoo>