跳至内容
菜单
此问题已终结
1 回复
1360 查看
xml version="1.0" encoding="utf-8"?>


id="assets_backend" name="project_workflow_assets" inherit_id="web.assets_backend">
expr="." position="inside">
形象
丢弃
最佳答案

Hi,

In odoo 15, you can't inherit web.assets_backend in view and can't add your js or css. You need to add it in manifest file.

'assets': {

        'web.assets_backend': [

            'module_name/static/src/js/yourjs.js',

        ],

    },


Hope it helps

形象
丢弃