<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>        
        <!--   pos.details -->
        
        <record id="view_pos_payment_report" model="ir.ui.view">
            <field name="name">Payment Report</field>
            <field name="model">pos.payment.report</field>
            <field name="arch" type="xml">
                <form string="Payment Report" version="7.0">
                    <header>
                        <button name="print_report" string="Print Report" type="object" class="oe_highlight"  />
                        or
                        <button string="Cancel" class="oe_link" special="cancel" />
                    </header>
                </form>
            </field>
        </record>

        <record id="action_pos_payment_report" model="ir.actions.act_window">
            <field name="name">Payment Report</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">pos.payment.report</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

        
    </data>
</openerp>            
