1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/website_sale_shiprocket/data/payment_provider_data.xml
2024-12-10 09:04:09 +07:00

24 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<record id="payment_provider_shiprocket_cod" model="payment.provider">
<field name="name">Shiprocket: Cash on Delivery</field>
<field name="image_128" type="base64" file="website_sale_shiprocket/static/img/cod.png"/>
<field name="module_id" ref="base.module_website_sale_shiprocket"/>
<field name="code">custom</field>
<field name="custom_mode">shiprocket_cash_on_delivery</field>
<field name="payment_method_ids"
eval="[Command.set([
ref('shiprocket_payment_method_cash_on_delivery'),
])]"
/>
<field name="redirect_form_view_id" ref="payment_custom.redirect_form"/>
<field name="state">enabled</field>
<field name="available_country_ids" eval="[Command.set([ref('base.in')])]"/>
<field name="available_currency_ids" eval="[Command.set([ref('base.INR')])]"/>
<field name="pending_msg" type="html">
<p>You payment is in pending state as you have opted for cash on delivery.<br/>
The delivery person will gather the payment during the delivery process.</p>
</field>
</record>
</odoo>