Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
832 Vistas

Here in odoo 14 I create a dashboard. In my dashboard working perfectly on localhost. when I upload it on live server the css is not working. I can not find any issue. i added the link path properly and add the xml file in manifest. I can not find any issue. Please anyone know about that how the css works on live please help me.

<template id="assets_dashboard" name="Dashboard assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/css" href="/module/static/src/css/dashboard.css"/>
<script type="text/javascript" src="/module/static/src/js/regiment_adjutant_dashboard.js"/>
<script type="text/javascript" src="/module/static/src/js/regiment_commander.js"/>
<script type="text/javascript" src="/module/static/src/js/flotila_commander.js"/>
<script type="text/javascript" src="/module/static/src/js/flotilla_wing_head.js"/>
<script type="text/javascript" src="/module/static/src/js/squadron_commander.js"/>
<script type="text/javascript" src="/module/static/src/js/squadron_head_wing.js"/>
xpath>
template>

Avatar
Descartar
Mejor respuesta

Hi,

If your stylesheet is working properly locally but not on the server, please check the Odoo logs on the server for any error details.


Hope it helps

Avatar
Descartar