summaryrefslogtreecommitdiff
path: root/addons/purchase/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/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/views')
-rw-r--r--addons/purchase/views/assets.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/purchase/views/assets.xml b/addons/purchase/views/assets.xml
index ab552c0d4f0..1532d8b70eb 100644
--- a/addons/purchase/views/assets.xml
+++ b/addons/purchase/views/assets.xml
@@ -5,5 +5,8 @@
<link rel="stylesheet" type="text/scss" href="/purchase/static/src/scss/purchase.scss"/>
<script type="text/javascript" src="/purchase/static/src/js/purchase_dashboard.js"></script>
</xpath>
+ <xpath expr="script[last()]" position="after">
+ <script type="text/javascript" src="/purchase/static/src/js/tours/purchase.js"></script>
+ </xpath>
</template>
</odoo>