Dears,
I'm trying to get the partner language in the qweb reports like sales orders
using this code:
<p t-field="o.partner_id.lang"></p> #this line prints Arabic
<div t-if="o.partner_id.lang == 'Arabic'"><p>Current language is
Arabic</p></div> # this line never interpreted
Any solution ?
Regards,
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : openerp-community@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp