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.
Hello, I'm trying to make a new theme for odoo-8 website.. By following these steps in \odoo-theme-tutorial . when went through step of Extend the default header I didn't get the expected output. All I get is a page og text without applying neither the CSS effect nor the JS. I don't know what am I missing.. any help will be appreciated.
Here's my code:
in openerp file:
# Theme information
'depends': ['website', 'website_less'],
in layout.xml file:
<?xml version="1.0" encoding="utf-8" ?>
<!-- Customize header -->
<template id="custom_header" inherit_id="website.layout" name="Custom Header">
<!-- Assign an id -->
<xpath expr="//div[@id='wrapwrap']/header" position="attributes">
<!-- Add an element after the top menu -->
<xpath expr="//div[@id='wrapwrap']/header/div" position="after">
<div class="alert alert-info mt16" role="alert">
<strong>Welcome</strong> to our website!
Here's a screenshot of what I get:
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 6/5/16, 9:59 AM|
|Seen: 283 times|
|Last updated: 6/5/16, 4:15 PM|