test_mailing.xml 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="view_mail_mass_mailing_test_form">
  5. <field name="name">mail.mass_mailing.test.form</field>
  6. <field name="model">mail.mass_mailing.test</field>
  7. <field name="arch" type="xml">
  8. <form string="Send a Sample Mail">
  9. <p class="text-muted">
  10. Send a sample of this mailing to the above of email addresses for test purpose.
  11. </p>
  12. <group>
  13. <field name="email_to"/>
  14. </group>
  15. <footer>
  16. <button string="Send Sample Mail" name="send_mail_test" type="object" class="oe_highlight"/>
  17. or
  18. <button string="Cancel" class="oe_link" special="cancel" />
  19. </footer>
  20. </form>
  21. </field>
  22. </record>
  23. <record id="action_mail_mass_mailing_test" model="ir.actions.act_window">
  24. <field name="name">Mailing Test</field>
  25. <field name="res_model">mail.mass_mailing.test</field>
  26. <field name="view_type">form</field>
  27. <field name="view_mode">form</field>
  28. <field name="target">new</field>
  29. </record>
  30. </data>
  31. </openerp>