<?xml version="1.0" encoding="utf-8"?>
<odoo>
	<!-- New card generation wizard -->
    <record id="MemberCard Wizard" model="ir.ui.view">
        <field name="name">New MemberCard Wizard</field>
        <field name="model">membercard.new.wizard</field>
        <field name="arch" type="xml">
            <form>
                <group groups="beesdoo_base.group_force_barcode">
                    <field name="force_barcode" />
                </group>
                <separator string="Reason" />
                <field name="new_comment" string="Reason" editable="True" />
                <field name="partner_id" invisible="1" />
                <footer>
                    <button type="object" name="create_new_card" string="Create"
                        class="oe_highlight" />
                    <button special="cancel" string="Cancel" />
                </footer>
            </form>
        </field>
    </record>


	<record id="printing_membercard_request_wizard" model="ir.ui.view">
        <field name="name">Request Membercard Printing Wizard</field>
        <field name="model">membercard.requestprinting.wizard</field>
        <field name="arch" type="xml">
          <form>
          	  <separator string="Request Printing for" />
              <field name="partner_ids" />
              <footer>
	              <button
	                  type="object"
	                  name="request_printing"
	                  string="Request Beescard Printing"
	                  class="oe_highlight" />
	              <button special="cancel" string="Cancel" />
         	 </footer>
          </form>
          
        </field>
    </record>
    
    <act_window name="Request BEES card printing"
          res_model="membercard.requestprinting.wizard"
          src_model="res.partner"
          view_mode="form"
          target="new"
          key2="client_action_multi"
          id="beesdoo_base_action_request_membercard_printing"
    />
    

    <record id="membercard_set_as_printed_wizard" model="ir.ui.view">
        <field name="name">Set Membercard as Printed Wizard</field>
        <field name="model">membercard.set_as_printed.wizard</field>
        <field name="arch" type="xml">
            <form>
            	<separator string="Set as Printed for" />
                <field name="partner_ids" />
                <footer>
	                <button
	                    type="object"
	                    name="set_as_printed"
	                    string="Set as Printed"
	                    class="oe_highlight" />
	                <button special="cancel" string="Cancel" />
	            </footer>
            </form>
            
        </field>
    </record>
    <act_window name="Set BEES card as printed"
          res_model="membercard.set_as_printed.wizard"
          src_model="res.partner"
          view_mode="form"
          target="new"
          key2="client_action_multi"
          id="beesdoo_base_action_set_membercard_as_printed"
    />
</odoo>