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" <[email protected]>:
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,
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to