sms_security.xml 485 B

1234567891011
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="ir_rule_sms_template_hr_manager" model="ir.rule">
  4. <field name="name">SMS Template: hr manager CUD on employee templates</field>
  5. <field name="model_id" ref="sms.model_sms_template"/>
  6. <field name="groups" eval="[(4, ref('hr.group_hr_manager'))]"/>
  7. <field name="domain_force">[('model_id.model', '=', 'hr.employee')]</field>
  8. <field name="perm_read" eval="False"/>
  9. </record>
  10. </odoo>