summaryrefslogtreecommitdiff
path: root/addons/pos_cache/views/pos_cache_templates.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/pos_cache/views/pos_cache_templates.xml')
-rw-r--r--addons/pos_cache/views/pos_cache_templates.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/pos_cache/views/pos_cache_templates.xml b/addons/pos_cache/views/pos_cache_templates.xml
new file mode 100644
index 00000000..6866bd2a
--- /dev/null
+++ b/addons/pos_cache/views/pos_cache_templates.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <data>
+ <template id="assets" inherit_id="point_of_sale.assets">
+ <xpath expr="." position="inside">
+ <script type="text/javascript" src="/pos_cache/static/src/js/pos_cache.js"></script>
+ </xpath>
+ </template>
+ </data>
+</odoo>