trytondo-sale_payment/view/sale_form.xml
2018-08-28 08:22:20 +02:00

26 lines
1.1 KiB
XML

<?xml version="1.0"?>
<!-- This file is part of the sale_payment module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<data>
<xpath expr="/form/notebook/page[@id='sale']/group/group[@id='buttons']" position="replace_attributes">
<group col="10" colspan="2" id="buttons"/>
</xpath>
<xpath expr="/form/notebook/page[@id='sale']/group/group/button[@name='process']" position="after">
<button name="wizard_sale_payment" icon="tryton-go-next"/>
</xpath>
<xpath expr="/form/notebook/page[@id='other']" position="after">
<page string="Payments" col="4" id="payments">
<field name="payments" colspan="4" readonly="1"/>
<label name="paid_amount"/>
<field name="paid_amount"/>
<label name="residual_amount"/>
<field name="residual_amount"/>
</page>
</xpath>
<xpath expr="/form/notebook/page[@id='other']/field[@name='shop']" position="after">
<label name="sale_device"/>
<field name="sale_device"/>
</xpath>
</data>