Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
1038 Visninger

Hello,

Using v16, I would like to add a colored background to the Chatter Log Note and a different coloured background to the Chatter Send Message to help distinguish between the two.

So I created a new folder for my new module and I created a manifest file with the following in it:

{    'name': 'helpdesk extension',

​'depends': [ 'helpdesk' ],

         'qweb': [ 'templates/composer.xml', ],

​'installable': True

}

and an init file which is empty

The problem is that I don't know what to put in the  templates/composer.xml file.

I have tried various things, but I have no confidence that the module is actually doing anything.

I can see the module in the Apps (with Apps filter removed, as it is not an app) and I have installed it so I presume that it should be running.

If anyone know what I need to put in the templates/composer.xml file please let me know.

Many Thanks in Advance,

Simon

Avatar
Kassér
Bedste svar

Hi,


The qweb templates must be added in the web.assets_backend in manifest


example


'assets': {

        'web.assets_backend': [

            'module_name/static/src/xml/composer.xml',

        ],

    },


Hope it helps

Avatar
Kassér