Thread Previous • Date Previous • Date Next • Thread Next |
Hi Mohamed, Maybe you could try making the question at https://help.odoo.com It's more suited for these "how do I" typo of questions. Kind regards Daniel Quoting "Mohamed M. Hagag" <mohamedhagag1981@xxxxxxxxx>:
Dears, How to dynamically alter qweb templates contents based on python variable ? for example the file ./openerp/addons/web/views/webclient_templates.xml , 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 . Regards,
Thread Previous • Date Previous • Date Next • Thread Next |