flectra/addons/point_of_sale/wizard/pos_payment.xml
2018-01-16 02:34:37 -08:00

30 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<flectra>
<record id="view_pos_payment" model="ir.ui.view">
<field name="name">pos.make.payment.form</field>
<field name="model">pos.make.payment</field>
<field name="arch" type="xml">
<form string="Pay Order">
<group>
<field name="session_id" invisible="True"/>
<field name="journal_id" domain="[('journal_user', '=', True)]"/>
<field name="amount" />
<field name="payment_name"/>
</group>
<footer>
<button name="check" string="Make Payment" type="object" class="btn-primary"/>
<button special="cancel" string="Cancel" class="btn-default"/>
</footer>
</form>
</field>
</record>
<record id="action_pos_payment" model="ir.actions.act_window">
<field name="name">Payment</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">pos.make.payment</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</flectra>