'Odoo - CSS changes are not applied
I am trying to make changes to an existing CSS file. However, the changes are not applied when I restart Odoo. The CSS file is included in the XML file as follows:
<template id="asset_contacts_addon" name="contacts addon assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" type="text/css" href="/contacts_addon/static/src/css/contacts_addon.css"/>
</xpath>
</template>
And my CSS file looks lik this:
#contacts_checkbox_message {
color: red;
}
.dropdown-menu{
overflow-y: scroll !important;
height: 200px !important;
}
I was working on the dropdown-menu. I have tried to make the changes visible in Odoo, but when I restart the service, my changes are not applied. The changes were only applied when I deleted my test database and created a new one. How can I apply the changes without deleting my database ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
