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 am developing Odoo 8.0
I am trying to customize part of the web client interface using Templates and xpath. For example:
<template id="web_custom_layout" inherit_id="web.layout" name="web_custom layout">
<xpath t-if expr="some_path" position="replace">
In my case, the tags I want to insert in the inherited template "web.layout" rely on data in the Settings of the system. To do that, the controller rendering the template needs to pass the data to template.
Since the controller that renders web.layout is out of my reach, is there a way to extend it? or is there a way to read data from the system directly from the template markup?
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/1/15, 10:27 AM|
|Seen: 1177 times|
|Last updated: 6/1/15, 10:28 AM|