Files
odoo_source/addons/event_sms/security/sms_security.xml
T
Victor Feyens a3ded9043d [IMP] *: declare ir.rule in noupdate
ir.rule are default values but can be customized based on the
company's policy and needs.
This is typically a record that is in noupdate as should be
customization-friendly.
2020-03-20 16:21:25 +01:00

10 lines
502 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<record id="ir_rule_sms_template_event_manager" model="ir.rule">
<field name="name">SMS Template: event manager CRUD on event / registrations templates</field>
<field name="model_id" ref="sms.model_sms_template"/>
<field name="groups" eval="[(4, ref('event.group_event_manager'))]"/>
<field name="domain_force">[('model_id.model', 'in', ('event.event', 'event.registration'))]</field>
</record>
</odoo>