summaryrefslogtreecommitdiff
path: root/addons/website_slides_survey
diff options
context:
space:
mode:
authorPatrick Hoste <pko@odoo.com>2020-08-11 09:46:46 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-11 10:31:23 +0000
commit4f2a4b175fe5d3dc541c834a5475a8f77b7fb976 (patch)
treefa44a58d512d142ea23813bb79675c26bba872b6 /addons/website_slides_survey
parentb39f4b6307e00f9f959d6f3bf36041344d13ace6 (diff)
[REF] website_slides: improve elearning backend usability and onboarding
PURPOSE Improve elearning backend usability and onboarding SPECIFICATIONS Improve layout of email send when invite. Do like a SO, add the join button in the notification email and not in the composer itself. It required to create a new notification layout specific to that invite wizard. Improve channel form view: remove statistics as they are already displayed in various places, add a stat button for content/visits, better display of karma (split gain from karma-based access rules). Automatically publish channel's product to avoid de-synchronization of publish flags. Remove unused channel_url field on wizard. LINKS Task ID-2241513 PR #55698
Diffstat (limited to 'addons/website_slides_survey')
-rw-r--r--addons/website_slides_survey/views/slide_channel_views.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/website_slides_survey/views/slide_channel_views.xml b/addons/website_slides_survey/views/slide_channel_views.xml
index 1ff9e02a556..6baaef0139c 100644
--- a/addons/website_slides_survey/views/slide_channel_views.xml
+++ b/addons/website_slides_survey/views/slide_channel_views.xml
@@ -6,12 +6,10 @@
<field name="inherit_id" ref="website_slides.view_slide_channel_form"/>
<field name="arch" type="xml">
<xpath expr="//span[@name='members_done_count_label']" position="replace">
+ <field name="nbr_certification" invisible="1"/>
<span class="o_stat_text" attrs="{'invisible': [('nbr_certification', '>', 0)]}">Finished</span>
<span class="o_stat_text" attrs="{'invisible': [('nbr_certification', '=', 0)]}">Certified</span>
</xpath>
- <xpath expr="//field[@name='nbr_webpage']" position="after">
- <field name="nbr_certification" string="Certifications"/>
- </xpath>
<xpath expr="//field[@name='slide_type']" position="after">
<field name="survey_id"/>
</xpath>