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
553 B

  1. <?xml version="1.0"?>
  2. <odoo>
  3. <record model="ir.rule" id="partner_notification_conf_owner">
  4. <field name="name">Partners can edit their own notification settings</field>
  5. <field name="model_id" ref="model_partner_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">['|',('partner_id', '=', user.partner_id.id), ('create_uid', '=', user.id)]</field>
  11. </record>
  12. </odoo>