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.

82 lines
3.1 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <!-- New card generation wizard -->
  4. <record id="MemberCard Wizard" model="ir.ui.view">
  5. <field name="name">New MemberCard Wizard</field>
  6. <field name="model">membercard.new.wizard</field>
  7. <field name="arch" type="xml">
  8. <form>
  9. <group groups="beesdoo_base.group_force_barcode">
  10. <field name="force_barcode"/>
  11. </group>
  12. <separator string="Reason"/>
  13. <field name="new_comment" string="Reason" editable="True"/>
  14. <field name="partner_id" invisible="1"/>
  15. <footer>
  16. <button type="object" name="create_new_card" string="Create"
  17. class="oe_highlight"/>
  18. <button special="cancel" string="Cancel"/>
  19. </footer>
  20. </form>
  21. </field>
  22. </record>
  23. <record id="printing_membercard_request_wizard" model="ir.ui.view">
  24. <field name="name">Request Membercard Printing Wizard</field>
  25. <field name="model">membercard.requestprinting.wizard</field>
  26. <field name="arch" type="xml">
  27. <form>
  28. <separator string="Request Printing for"/>
  29. <field name="partner_ids"/>
  30. <footer>
  31. <button
  32. type="object"
  33. name="request_printing"
  34. string="Request Beescard Printing"
  35. class="oe_highlight"/>
  36. <button special="cancel" string="Cancel"/>
  37. </footer>
  38. </form>
  39. </field>
  40. </record>
  41. <act_window name="Request BEES card printing"
  42. res_model="membercard.requestprinting.wizard"
  43. src_model="res.partner"
  44. view_mode="form"
  45. target="new"
  46. key2="client_action_multi"
  47. id="beesdoo_base_action_request_membercard_printing"
  48. />
  49. <record id="membercard_set_as_printed_wizard" model="ir.ui.view">
  50. <field name="name">Set Membercard as Printed Wizard</field>
  51. <field name="model">membercard.set_as_printed.wizard</field>
  52. <field name="arch" type="xml">
  53. <form>
  54. <separator string="Set as Printed for"/>
  55. <field name="partner_ids"/>
  56. <footer>
  57. <button
  58. type="object"
  59. name="set_as_printed"
  60. string="Set as Printed"
  61. class="oe_highlight"/>
  62. <button special="cancel" string="Cancel"/>
  63. </footer>
  64. </form>
  65. </field>
  66. </record>
  67. <act_window name="Set BEES card as printed"
  68. res_model="membercard.set_as_printed.wizard"
  69. src_model="res.partner"
  70. view_mode="form"
  71. target="new"
  72. key2="client_action_multi"
  73. id="beesdoo_base_action_set_membercard_as_printed"
  74. />
  75. </odoo>