You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

28 lines
1.4 KiB

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<!-- inheriting the payment confirmation status template -->
<template id="payment_status"
inherit_id="website_sale.payment_confirmation_status">
<xpath expr="//div[hasclass('card-header')]" position="replace">
<div class="card-header">
<t t-set="website_order_config"
t-value="request.env['ir.config_parameter'].sudo().get_param('website_sale_auto_backend.website_order_configuration')"/>
<span t-if="website_order_config == 'confirm_order'">
Order has been Confirmed, Your payment has been successfully
processed. But order is not validated yet.
</span>
<span t-if="website_order_config == 'confirm_order_create_inv'">
Order has been Invoiced, Your payment has been successfully
invoiced. But order is not validated yet.
</span>
<span t-if="website_order_config == 'confirm_order_post_inv'">
Order has been Validated, Your payment has been successfully
processed.
</span>
<span t-if="website_order_config == 'confirm_quotation_create_payment'">
Payment has been Done
</span>
</div>
</xpath>
</template>
</odoo>