You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
530 B

  1. <?xml version="1.0"?>
  2. <odoo>
  3. <record model="ir.rule" id="user_notification_conf_owner">
  4. <field name="name">Users can edit their own notification settings</field>
  5. <field name="model_id" ref="model_user_notification_conf"/>
  6. <field name="perm_read" eval="False"/>
  7. <field name="perm_create" eval="False"/>
  8. <field name="perm_write" eval="True"/>
  9. <field name="perm_unlink" eval="True"/>
  10. <field name="domain_force">['|',('user_id', '=', user.id), ('create_uid', '=', user.id)]</field>
  11. </record>
  12. </odoo>