This error appears when i try to install a module.odoo.tools.convert.ParseError: while parsing None:3, somewhere inside
What am I done wrong here?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
21506
瀏覽次數
In Odoo 15, there is no more assets template override. it's all done in the __manifest__.py files so If you want to add assets to assets_backend in Odoo 15 you have to do it through manifest file as you can see in the below link of account module:
odoo/__manifest__.py at 15.0 · odoo/odoo (github.com)
Read how the assets added in Odoo 15 in the below article link:
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
6
9月 24
|
52493 | ||
|
0
2月 24
|
1439 | ||
|
0
12月 22
|
2135 | ||
|
2
6月 20
|
20125 | ||
|
0
3月 16
|
6038 |
Please post the code to get the help.
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="assets_backend" name="mail_tracking assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/mail_tracking/static/src/css/mail_tracking.css"/>
<link rel="stylesheet" href="/mail_tracking/static/src/css/failed_message.css"/>
<script type="text/javascript" src="/mail_tracking/static/src/js/mail_tracking.js"/>
<script type="text/javascript" src="/mail_tracking/static/src/js/message.js"/>
<script type="text/javascript" src="/mail_tracking/static/src/js/failed_message/mail_failed_box.js"/>
<script type="text/javascript" src="/mail_tracking/static/src/js/failed_message/thread.js"/>
<script type="text/javascript" src="/mail_tracking/static/src/js/models/thread.js"/>
<script type="text/javascript" src="/mail_tracking/static/src/js/chatter.js"/>
<script type="text/javascript" src="/mail_tracking/static/src/js/discuss/discuss.js"/>
</xpath>
</template>
</odoo>