mass_mailing_data.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data noupdate="1">
  4. <!-- After installation of the module, open the related menu -->
  5. <record id="action_client_marketing_menu" model="ir.actions.client">
  6. <field name="name">Open Marketing Menu</field>
  7. <field name="tag">reload</field>
  8. <field name="params" eval="{'menu_id': ref('base.marketing_menu')}"/>
  9. </record>
  10. <record id="base.open_menu" model="ir.actions.todo">
  11. <field name="action_id" ref="action_client_marketing_menu"/>
  12. <field name="state">open</field>
  13. </record>
  14. <!-- Group to manage campaigns -->
  15. <record id="group_mass_mailing_campaign" model="res.groups">
  16. <field name="name">Manage Mass Mailing Campaigns</field>
  17. <field name="category_id" ref="base.module_category_hidden"/>
  18. </record>
  19. <!-- Default stages of mass mailing campaigns -->
  20. <record id="campaign_stage_1" model="mail.mass_mailing.stage">
  21. <field name="name">Schedule</field>
  22. <field name="sequence">10</field>
  23. </record>
  24. <record id="campaign_stage_2" model="mail.mass_mailing.stage">
  25. <field name="name">Design</field>
  26. <field name="sequence">20</field>
  27. </record>
  28. <record id="campaign_stage_3" model="mail.mass_mailing.stage">
  29. <field name="name">Sent</field>
  30. <field name="sequence">30</field>
  31. </record>
  32. <!-- Create mailing lists -->
  33. <record id="mass_mail_list_1" model="mail.mass_mailing.list">
  34. <field name="name">Newsletter</field>
  35. </record>
  36. </data>
  37. </openerp>