IAP allow app publishers to charge for ongoing services. In that context, Odoo acts mostly as a payment platform between the service user (client) and the service provider (Odoo App developer).
27 lines
822 B
XML
27 lines
822 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<template id="template" xml:space="preserve">
|
|
|
|
<!-- LAYOUT TEMPLATES -->
|
|
<div t-name="iap.redirect_to_odoo_credit">
|
|
<t t-if="data.body">
|
|
<div t-raw="data.body"/>
|
|
</t>
|
|
<t t-if="!data.body">
|
|
<t t-if="data.message">
|
|
<span t-esc="data.message"/>
|
|
</t>
|
|
<t t-if="!data.message">
|
|
<span>Insufficient credit to perform this service.</span>
|
|
</t>
|
|
</t>
|
|
</div>
|
|
|
|
<t t-extend="DashboardApps">
|
|
<t t-jquery=".o_web_settings_dashboard_pills" t-operation="append">
|
|
<a class="pull-right" t-att-href="widget.data.url" target="_blank">
|
|
<i class="fa fa-money fa-2x text-muted"/> In-App Purchases</a>
|
|
</t>
|
|
</t>
|
|
|
|
</template>
|