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.

41 lines
1.6 KiB

  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record id="notifications_emails_partner_info_form" model="ir.ui.view">
  5. <field name="name">mail.notifications res.partner.form</field>
  6. <field name="model">res.partner</field>
  7. <field name="inherit_id" ref="mail.view_emails_partner_info_form"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//field[@name='notify_email']" position="after">
  10. <field name="notify_conf_ids" attrs="{'invisible': [('notify_email','=', 'none')]}"/>
  11. </xpath>
  12. </field>
  13. </record>
  14. <record model="ir.ui.view" id="notification_form">
  15. <field name="name">partner.notification.conf form</field>
  16. <field name="model">partner.notification.conf</field>
  17. <field name="arch" type="xml">
  18. <form string="Notification">
  19. <group name="main">
  20. <field name="enabled" />
  21. <field name="subtype_id" options="{'no_create': True}" />
  22. </group>
  23. </form>
  24. </field>
  25. </record>
  26. <record model="ir.ui.view" id="notification_tree">
  27. <field name="name">partner.notification.conf tree</field>
  28. <field name="model">partner.notification.conf</field>
  29. <field name="arch" type="xml">
  30. <tree string="Notifications" editable="top">
  31. <field name="enabled" />
  32. <field name="subtype_id" />
  33. </tree>
  34. </field>
  35. </record>
  36. </data>
  37. </openerp>