跳至内容
菜单
此问题已终结
1 回复
901 查看

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>

形象
丢弃
最佳答案

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

形象
丢弃