2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<record id="payment_transaction_view_form_inherit_website_sale" model="ir.ui.view">
|
|
|
|
<field name="name">payment.transaction.view.form.inherit.website_sale</field>
|
|
|
|
<field name="model">payment.transaction</field>
|
|
|
|
<field name="inherit_id" ref="payment.transaction_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//field[@name='reference']" position="after">
|
|
|
|
<field name="sale_order_id"/>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="payment_transaction_action_payments_to_capture" model="ir.actions.act_window">
|
|
|
|
<field name="name">Payments To Capture</field>
|
|
|
|
<field name="res_model">payment.transaction</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="domain">[('state', '=', 'authorized'), ('sale_order_id.state', '!=', 'cancel')]</field>
|
|
|
|
<field name="context">{'create': False}</field>
|
|
|
|
<field name="view_id" ref="payment.transaction"/>
|
|
|
|
<field name="help">You don't have any payments to capture from the website.</field>
|
|
|
|
</record>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|