summaryrefslogtreecommitdiff
path: root/addons/purchase_stock/views
diff options
context:
space:
mode:
authorNasreddin (bon) <bon@odoo.com>2020-04-06 10:33:14 +0000
committerThibault Delavallée <tde@odoo.com>2020-04-14 11:33:40 +0000
commitafe40caf685268ec2b4521ec0ea25f69150cf08b (patch)
tree9856ff592e6896059d480d093e959505eb34e562 /addons/purchase_stock/views
parent376891294788706753b056f0151d198f0a493c64 (diff)
[IMP] purchase, purchase_stock: add an onboarding tour
Improve onboarding and guide first clicks of users in the purchase application to create a purchase order. In case Stock module is installed, it will also guide the users through the receipt first clicks process. Task ID 2219988 closes odoo/odoo#49031 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/purchase_stock/views')
-rw-r--r--addons/purchase_stock/views/assets.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/purchase_stock/views/assets.xml b/addons/purchase_stock/views/assets.xml
new file mode 100644
index 00000000000..8724db5b521
--- /dev/null
+++ b/addons/purchase_stock/views/assets.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<odoo>
+ <template id="assets_backend" name="purchase stock assets" inherit_id="web.assets_backend">
+ <xpath expr="script[last()]" position="after">
+ <script type="text/javascript" src="/purchase_stock/static/src/js/tours/purchase_stock.js"></script>
+ </xpath>
+ </template>
+</odoo>