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.

60 lines
1.8 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- © 2016 Jairo Llopis <jairo.llopis@tecnativa.com>
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <openerp>
  5. <data>
  6. <record id="mail_unsubscription_reason_view_form" model="ir.ui.view">
  7. <field name="name">Mail Unsubscription Reason Form</field>
  8. <field name="model">mail.unsubscription.reason</field>
  9. <field name="arch" type="xml">
  10. <form>
  11. <sheet>
  12. <group>
  13. <field name="name"/>
  14. <field name="details_required"/>
  15. <field name="sequence"/>
  16. </group>
  17. <div class="oe_chatter"/>
  18. </sheet>
  19. </form>
  20. </field>
  21. </record>
  22. <record id="mail_unsubscription_reason_view_tree" model="ir.ui.view">
  23. <field name="name">Mail Unsubscription Reason Tree</field>
  24. <field name="model">mail.unsubscription.reason</field>
  25. <field name="arch" type="xml">
  26. <tree>
  27. <field name="name"/>
  28. <field name="details_required"/>
  29. <field name="sequence" invisible="True"/>
  30. </tree>
  31. </field>
  32. </record>
  33. <record id="mail_unsubscription_reason_view_search" model="ir.ui.view">
  34. <field name="name">Mail Unsubscription Reason Search</field>
  35. <field name="model">mail.unsubscription.reason</field>
  36. <field name="arch" type="xml">
  37. <search>
  38. <field name="name"/>
  39. <field name="details_required"/>
  40. </search>
  41. </field>
  42. </record>
  43. <act_window
  44. id="mail_unsubscription_reason_action"
  45. name="Unsubscription Reasons"
  46. res_model="mail.unsubscription.reason"/>
  47. <menuitem
  48. id="mail_unsubscription_reason_menu"
  49. parent="mass_mailing.marketing_configuration"
  50. groups="mass_mailing.group_mass_mailing_campaign"
  51. action="mail_unsubscription_reason_action"/>
  52. </data>
  53. </openerp>