← Back to team overview

openerp-community team mailing list archive

Re: get partner language in Qweb reports

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

> Code:    <div
> t-if="o.partner_id.lang.code.startswith('ar')"><p>Current language
> is Arabic</p></div>

use o.partner_id.lang.startswith('ar')

- -- 
Therp - Maatwerk in open ontwikkeling

Holger Brunn - Ontwerp en implementatie

mail: holger@xxxxxxxx
web: http://therp.nl
phone: +31 (0)20 3093096
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iF4EAREIAAYFAlRrN78ACgkQAcl2D+yjrhgCeQD9GNLyUHRMIT3/RYXtYJop9b0x
/Z1zTFOm5Y5+4cPQ9WEBAKNiH0OmGMO+X3XEWkzMnnJYwhChHMRu1/6BHEQh4JFL
=mBMh
-----END PGP SIGNATURE-----


Follow ups

References