[FIX][18.0] account_financial_report: fix scss affect other places

Partial revert of 01f22b8256
Adding css in web.assets_backend Affects the display of the Odoo interface
Reverts to how it was in v17
This commit is contained in:
David Ramia
2025-07-24 10:15:02 +02:00
parent 1ffec3d4ee
commit 6bd60a40bd
4 changed files with 8 additions and 2 deletions

View File

@@ -47,7 +47,6 @@
"assets": {
"web.assets_backend": [
"account_financial_report/static/src/js/*",
"account_financial_report/static/src/scss/*",
"account_financial_report/static/src/xml/**/*",
],
},

View File

@@ -2,6 +2,10 @@
<odoo>
<template id="account_financial_report.html_container">
<t t-call-assets="web.assets_backend" />
<link
href="/account_financial_report/static/src/css/report_html.css"
rel="stylesheet"
/>
<t t-set="body_classname" t-value="'container'" />
<t t-call="web.report_layout">
<t t-out="0" />
@@ -9,7 +13,10 @@
</template>
<template id="account_financial_report.internal_layout">
<div class="article o_account_financial_reports_page">
<t t-call-assets="web.assets_backend" />
<link
href="/account_financial_report/static/src/css/report.css"
rel="stylesheet"
/>
<t t-out="0" />
</div>
<div class="footer">