[FIX] web: remove portal/website dependency from reports

See the comments which are removed by this commit for details. We
finally chose to remove the whole interaction for now.
This commit is contained in:
qsm-odoo
2018-10-02 15:19:53 +02:00
parent 43655b3b39
commit f427ddcb36
+3 -19
View File
@@ -3,32 +3,16 @@
<!-- Assets for reports -->
<template id="report_assets_common">
<!--
FIXME
This asset is using files from web_editor, portal and website.
The is done by safety to have an asset which is the same as the
website one even when website is not installed and which is
website_* and theme independant.
The proper solution would be to include web.assets_frontend in the
report templates directly, but this has to be intensively tested.
-->
<t t-call="web._assets_utils"/>
<t t-call="web._assets_primary_variables"/>
<link rel="stylesheet" type="text/scss" href="/website/static/src/scss/primary_variables.scss"/>
<t t-call="web._assets_secondary_variables"/>
<link rel="stylesheet" type="text/scss" href="/website/static/src/scss/secondary_variables.scss"/>
<t t-call="web._assets_helpers"><t t-set="no_bs_vars" t-value="True"/></t>
<!-- FIXME web_editor ? -->
<link rel="stylesheet" type="text/scss" href="/web_editor/static/src/scss/bootstrap_overridden.scss"/>
<link rel="stylesheet" type="text/scss" href="/website/static/src/scss/bootstrap_overridden.scss"/>
<t t-call="web._assets_bootstrap"/>
<link href="/base/static/src/css/description.css" rel="stylesheet" type="text/css"/>
<!-- FIXME web_editor ? -->
<link rel="stylesheet" type="text/scss" href="/web_editor/static/src/scss/web_editor.common.scss"/>
<link rel="stylesheet" type="text/scss" href="/portal/static/src/scss/portal.scss"/>
<link rel="stylesheet" type="text/scss" href="/website/static/src/scss/website.scss"/>
<link href="/web/static/lib/fontawesome/css/font-awesome.css" rel="stylesheet" type="text/css"/>