Lopes Marc (loma) 2bcccbfb91 [FIX] survey: fix global css print rules
PURPOSE
=======

The survey addon assets contain some global rules for print mode, that
are present in the global backend stack.

In Odoo 15.2, we put these rules in `survey_templates_results.scss`.
Then, in later versions of Odoo we updated it wih more 'print mode'
global rules.

As these rules are specific to the survey addon, we don't want them to
affect the (whole) Odoo backend.

HOW TO FIX
==========

It seems rules defined in `survey_templates_results.scss` are not
used in survey backend views, but specific to frontend views.

`survey_templates_results.scss` is also part of the
`survey.survey_assets` bundle. This bundle is loaded only for the
following frontend views:
- Survey: main page (take survey)
- Survey: custom 403 page
- Survey: void content
- Survey: login required
- Survey: expired
- Survey: Access Code page
- Survey: print page
- Survey: result statistics page

Among them, views that are not intended to be printed are not
negatively impacted by the css rules for print mode.

A solution would therefore be to remove
`survey_templates_results.scss` from the backend stack.

see 0364161
see #135683
see #146812

task-3666858

closes odoo/odoo#155126

X-original-commit: aba4b503b60b42c91191436491205a0c7575ecbd
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2024-02-28 14:00:03 +00:00
2024-02-21 11:28:04 +00:00
2024-02-27 22:35:24 +00:00
…
…
…

Build Status Tech Doc Help Nightly Builds

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

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%