summaryrefslogtreecommitdiff
path: root/addons/hr_expense/static/src/xml
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2020-08-13 09:25:21 +0000
committerYannick Tivisse <yti@odoo.com>2020-08-13 10:53:00 +0000
commita37a746b4e0060c834dd700a511ff61350831d1d (patch)
treeac8714035df66e8a54871df25c9a496607bef839 /addons/hr_expense/static/src/xml
parenta89b68e7b5d50b750fadae8fb2a006225bec5d4a (diff)
[IMP] hr_expense: Improve global UX (back2basics)
closes odoo/odoo#55852 Taskid: 2303951 Related: odoo/enterprise#12394 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/hr_expense/static/src/xml')
-rw-r--r--addons/hr_expense/static/src/xml/expense_qr_modal_template.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/hr_expense/static/src/xml/expense_qr_modal_template.xml b/addons/hr_expense/static/src/xml/expense_qr_modal_template.xml
new file mode 100644
index 00000000000..00a59f418fe
--- /dev/null
+++ b/addons/hr_expense/static/src/xml/expense_qr_modal_template.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates id="template" xml:space="preserve">
+<t t-name="hr_expense_qr_code">
+ <div style="text-align:center;" class="o_expense_modal">
+ <t t-if="widget.url">
+ <h3>Scan this QR code to get the Odoo app:</h3><br/><br/>
+ <img class="border border-dark rounded" t-att-src="widget.url"/>
+ </t>
+ </div>
+</t>
+</templates>