sale_quick_payment_gateway/views/sale_order_view.xml
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="sale_order_view_form" model="ir.ui.view">
<field name="name">sale_quick_payment.sale_order.view_form</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale_payment_method.sale_order_view_form" />
<field name="arch" type="xml">
<notebook position="inside">
<page name="payment" string="Payment">
<group name="payments" string="Generated Payments" colspan="4">
<field name="payment_ids" nolabel="1"
domain="[
['partner_id', '=', partner_id],
['credit', '>', 0],
['account_id.type', '=', 'receivable'],
['reconcile_id', '=', False],
['sale_ids', '=', False],
]">
<tree string="Payment">
<field name="date"/>
<field name="journal_id"/>
<field name="partner_id"/>
<field name="debit"/>
<field name="credit"/>
</tree>
</field>
</group>
<group name="transaction" string="Transaction" colspan="4">
<field name="transaction_ids" nolabel="1">
<tree string="Payment">
<field name="create_date"/>
<field name="payment_method_id"/>
<field name="amount"/>
<field name="currency_id"/>
<field name="external_id"/>
<field name="state"/>
</tree>
</field>
</group>
</page>
</notebook>
</field>
</record>
</data>
</openerp>