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
<data >
<record id= "acquirer_form_paypal" model= "ir.ui.view" >
<field name= "name" > acquirer.form.paypal</field>
<field name= "model" > payment.acquirer</field>
<field name= "inherit_id" ref= "payment.acquirer_form" />
<field name= "arch" type= "xml" >
<xpath expr= '//group[@name="acquirer"]' position= 'after' >
<group attrs= "{'invisible': [('provider', '!=', 'paypal')]}" >
<field name= "paypal_email_account" />
<field name= "paypal_seller_account" />
<field name= "paypal_pdt_token" />
<field name= "paypal_use_ipn" />
<field name= "paypal_api_enabled" invisible= "1" />
<field name= "paypal_api_username" invisible= "1" />
<field name= "paypal_api_password" invisible= "1" />
2018-10-15 11:59:04 +02:00
<a colspan= "2" href= "https://userdoc.flectrahq.com/ecommerce/shopper_experience/payment_acquirer.html" target= "_blank" > How to configure your paypal account?</a>
2018-01-16 06:58:15 +01:00
</group>
</xpath>
</field>
</record>
<record id= "transaction_form_paypal" model= "ir.ui.view" >
<field name= "name" > acquirer.transaction.form.paypal</field>
<field name= "model" > payment.transaction</field>
<field name= "inherit_id" ref= "payment.transaction_form" />
<field name= "arch" type= "xml" >
<xpath expr= "//field[@name='acquirer_reference']" position= "after" >
<field name= "paypal_txn_type" readonly= "1" attrs= "{'invisible': [('provider', '!=', 'paypal')]}" />
</xpath>
</field>
</record>
</data>
2018-01-16 11:34:37 +01:00
</flectra>