Replace website_published and environment by a generic state on payment.acquirer Payment acquirers aren't enabled by default. When setting their state to 'enabled' or 'test', it is verified the required fields for the provider are set.
17 lines
675 B
XML
17 lines
675 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
|
|
<record id="payment.payment_acquirer_buckaroo" model="payment.acquirer">
|
|
<field name="name">Buckaroo</field>
|
|
<field name="image_128" type="base64" file="payment_buckaroo/static/src/img/buckaroo_icon.png"/>
|
|
<field name="provider">buckaroo</field>
|
|
<field name="company_id" ref="base.main_company"/>
|
|
<field name="view_template_id" ref="buckaroo_form"/>
|
|
<field name="pre_msg"><![CDATA[
|
|
<p>You will be redirected to the Buckaroo website after clicking on the payment button.</p>]]></field>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|