Community mailing list archives

community@mail.odoo.com

Adding Custom Css

by
Ghulam Masood
- 05/11/2016 08:30:02

Hi Community!
I am stuck when i try to add custom css to my custom application. I have created a file name ots_kanban_assests.xml here is the code for this file.

------------------------------------

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<template id="assets_backend"
inherit_id="web.assets_backend"
name="OTS Kanban Assets">

<xpath expr="." position="inside">
<link rel="stylesheet" href="/kolachi-odoo8/ots/static/src/css/ots_style.css"/>
</xpath>

</template>

</data>
</openerp>

And this ots_style.css is placed under the same directory but when i upgrade the module a message is displayed saying that could not get content defined in bundle 'web.assets_backend'

I donot know where i am wrong or if i am missing something that is required . Please help.