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.

55 lines
2.1 KiB

  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="view_wizard_send_sms">
  5. <field name="model">wizard.send.sms</field>
  6. <field name="arch" type="xml">
  7. <form string="SMS Gateway - Sens SMS" version="7.0">
  8. <group string="Gateway" colspan="4">
  9. <field name="gateway_id"/>
  10. </group>
  11. <notebook>
  12. <page string="Message">
  13. <field name="message" colspan="4" nolabel="1"/>
  14. <!-- TODO limit to 10 the number of partner to show -->
  15. <field name="partner_ids" colspan="4" nolabel="1">
  16. <tree options="{'limit': 10}">
  17. <field name="name"/>
  18. <field name="mobile"/>
  19. </tree>
  20. </field>
  21. </page>
  22. <page string="Additional option">
  23. <group>
  24. <group>
  25. <field name="validity"/>
  26. <field name="classes"/>
  27. <field name="deferred"/>
  28. <field name="nostop"/>
  29. </group>
  30. <group>
  31. <field name="priority"/>
  32. <field name="coding"/>
  33. <field name="tag"/>
  34. </group>
  35. </group>
  36. </page>
  37. </notebook>
  38. <footer>
  39. <button string="Send SMS" name="send" type="object" class="oe_highlight"/>
  40. or
  41. <button string="Cancel" class="oe_link" special="cancel"/>
  42. </footer>
  43. </form>
  44. </field>
  45. </record>
  46. <act_window name="Send an SMS"
  47. res_model="wizard.send.sms"
  48. src_model="res.partner"
  49. view_mode="form"
  50. target="new"
  51. key2="client_action_multi"
  52. id="action_wizard_send_sms" />
  53. </data>
  54. </openerp>