openerp-community team mailing list archive
Mailing list archive
Re: New v8 QWeb templates
Maybe you could try making the question at https://help.odoo.com
It's more suited for these "how do I" typo of questions.
Quoting "Mohamed M. Hagag" <mohamedhagag1981@xxxxxxxxx>:
How to dynamically alter qweb templates contents based on python
for example the file
I want to add a class to the <body> tag of the web.layout
template based on the user language.
I have the code to get current language, but I can't figure how to
insert the variable into the template .