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>
|
2017-12-22 15:17:53 +01:00
|
|
|
|
|
|
|
<record id="product_template_only_form_view_inherit" model="ir.ui.view">
|
|
|
|
<field name="name">product.template.product.form.inherit</field>
|
|
|
|
<field name="model">product.template</field>
|
|
|
|
<field name="inherit_id" ref="product.product_template_only_form_view"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//field[@name='attribute_line_ids']"
|
|
|
|
position="after">
|
|
|
|
<field name="product_variant_ids">
|
|
|
|
<tree editable='bottom' delete="false" create="false">
|
|
|
|
<field name = 'name' readonly="1"/>
|
|
|
|
<field name = 'attribute_value_ids'
|
|
|
|
widget="many2many_tags" readonly="1"/>
|
|
|
|
<field name = 'lst_price' readonly="1"/>
|
|
|
|
<field name = 'website_ids' widget="many2many_tags" />
|
|
|
|
</tree>
|
|
|
|
</field>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|