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.
I want to override the
addons\web\static\src\xml\base.xml in a custom module, i.e. the login page. to load my customized login page first before creating the first database.
How to write the __openerp__.py file and xml file
And what does these tag do in web/__openerp__.py :
'post_load': 'wsgi_postload', 'bootstrap': True, 'web_preload': False,`
In your custom module create folder like: ststic/src/xml/custom.xml
In custom.xml file
<templates id="template" xml:space="preserve">
<t t-extend="Login" > <t t-jquery=".oe_login" t-operation="replace"> Custom code for Login Page </t> </t>
Add this file in your __openerp__.py file like : 'qweb': ['static/src/xml/custom.xml']
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/14/13, 5:26 AM|
|Seen: 3836 times|
|Last updated: 3/16/15, 8:10 AM|