diff options
| author | Antony Lesuisse <al@openerp.com> | 2017-10-04 20:05:05 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2017-10-04 20:22:22 +0200 |
| commit | 6b22476e20fb7eade959194bfabd94d353e2d5ff (patch) | |
| tree | fbad12338bed7d4f4b38b017cd746878f897b81c /addons/iap/static/src/xml | |
| parent | ea51b6b06f33fa97ace9c55bb86fceaeb60bb18a (diff) | |
[ADD] iap: In app purchase
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).
Diffstat (limited to 'addons/iap/static/src/xml')
| -rw-r--r-- | addons/iap/static/src/xml/iap_templates.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/addons/iap/static/src/xml/iap_templates.xml b/addons/iap/static/src/xml/iap_templates.xml new file mode 100644 index 00000000000..9b52a4ec445 --- /dev/null +++ b/addons/iap/static/src/xml/iap_templates.xml @@ -0,0 +1,26 @@ +<?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> |
