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.
10 lines
502 B
XML
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>
|