I want to edit navbar and footer of the template "website_hr_recruitment.apply". To do this I've done the following (for footer only). But this is not showing any change. Help me to solve this.
web_module/views/templates.xml:
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="custom_application_form" name="Custom Application Form">
<t t-call="website_hr_recruitment.apply">
<t t-call="web_module.custom_footer"></t>
</t>
</template>
<!--Footer-->
<template id="custom_footer" name="Custom Footer">
<t t-call="website.footer_default">
<div id="footer">
<p>No footer</p>
</div>
</t>
</template>
</odoo>
web_module/controllers/controllers.py
from odoo import http
class FirstPage(http.Controller):
@http.route('/home/', auth='public', website=True, type='http')
def index(self, **kwargs):
return http.request.render('web_module.custom_application_form', {})