Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Adding a css/js file is easy in a template. Is there a way to remove css files. I am making a user preference that requires adding css if the option is true, but what if I want to remove that css file when the option is false.
This is how to add:
<xpath expr="//html/head/t" position="after">
<link t-if="option == true" href="option.css" rel="stylesheet"/>
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/31/15, 12:24 PM|
|Seen: 639 times|
|Last updated: 8/2/15, 4:07 AM|