mailing_mailing_schedule_date_views.xml 1.2 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0"?>
  2. <odoo>
  3. <record id="mailing_mailing_schedule_date_view_form" model="ir.ui.view">
  4. <field name="name">mailing.mailing.schedule.date.view.form</field>
  5. <field name="model">mailing.mailing.schedule.date</field>
  6. <field name="arch" type="xml">
  7. <form string="Take Future Schedule Date">
  8. <group>
  9. <group>
  10. <field name="schedule_date" string="Send on" required="1"/>
  11. </group>
  12. </group>
  13. <footer>
  14. <button string="Schedule" name="action_schedule_date" type="object" class="btn-primary" data-hotkey="q"/>
  15. <button string="Discard " class="btn-secondary" special="cancel" data-hotkey="z" />
  16. </footer>
  17. </form>
  18. </field>
  19. </record>
  20. <record id="mailing_mailing_schedule_date_action" model="ir.actions.act_window">
  21. <field name="name">When do you want to send your mailing?</field>
  22. <field name="res_model">mailing.mailing.schedule.date</field>
  23. <field name="type">ir.actions.act_window</field>
  24. <field name="view_mode">form</field>
  25. <field name="target">new</field>
  26. </record>
  27. </odoo>