From 40d2f95a8d0dc643865dcc180a248208499f0dda Mon Sep 17 00:00:00 2001 From: Patrick Hoste Date: Fri, 22 Nov 2019 09:43:17 +0000 Subject: [PATCH] [IMP] website_sale_slides: add buy button to documentation courses Currently if slides officers or managers define documentation courses as on payment there is no easy way for customers to buy it. In this commit we add a button on the frontend to allow the end user to buy a documentation course like a training course. This button is displayed only for on payment documentation courses, leaving other documentation courses displayed untouched. Task ID : 2125086 PR : odoo/odoo#40679 Signed-off-by: Thibault Delavallee (tde) --- .../views/website_slides_templates.xml | 26 +++ .../views/website_slides_templates_course.xml | 158 +++++++++--------- 2 files changed, 107 insertions(+), 77 deletions(-) diff --git a/addons/website_sale_slides/views/website_slides_templates.xml b/addons/website_sale_slides/views/website_slides_templates.xml index 7f83671dec1..dd265ffee73 100644 --- a/addons/website_sale_slides/views/website_slides_templates.xml +++ b/addons/website_sale_slides/views/website_slides_templates.xml @@ -54,6 +54,32 @@ + +