d5f7f6c21ec81067c799438dad85424ef18ad8b5
PURPOSE When dealing with lot of surveys kanban view is not really optimal and its state based grouping is not really helpful. Indeed we do not have total of each coumn and there is not point adding new states, meaning most surveys hang in the same column. This is not an optimal display. SPECIFICATIONS Improve ungrouped display as this is the main usage of surveys. It should be displayed like a global list view: each card should take the whole screen (like ``Visitor`` kanban view). Each line contains some "columns" holding statistics. We notably use a progressbar to display a nice passed ratio, as well as a many2one avatar widget to make survey enters the era of amazing wow kanban views. When grouped, display should be the old one, aka a standard card. This is done using a small CSS hack: card template actually consists in main templates related to two displays. Each card style is hidden depending on being groups or ungrouped. This triggers a class that is used using CSS to hide irrelevant content. A ribbon is also added on kanban cards displaying an Archived danger ribbon when survey is not active anymore. It is therefore coherent with the form view display that also has a ribbon defined. An override in website_slides_survey is added to add number of courses using the survey. Order is updated so that new surveys are on top. No need to be bloated by old ongoing surveys when creating new one. Finally, some labelling is done with answers to be clearer: registered (number of raw user inputs), completed (finished answers), certified or passed (quiz with certification activated or not). Task-2388785 closes odoo/odoo#77227 Related: odoo/upgrade#2862 Related: odoo/enterprise#21194 Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%