Community mailing list archives

Re: Language Problem in custom Report

Serpent Consulting Services Pvt. Ltd., Jay Vora
- 06/30/2015 08:40:54

You have to make sure you have used setLang option on the report!

Follow the invoice report.

On Tue, Jun 30, 2015 at 5:53 PM, Shefali Shirodkar <> wrote:
Hello Everbody,

I am creating a custom report 

So in that Report, I have xml file.  In that file i have written the "div" tag  in the below way:-

<div class="col-xs-9">
                      <strong>Product Description : </strong>      
                       <span t-field=""/>                                                       

but after changing the language of odoo 

my "Product Description" remains the same  i.e in English Language

The "Product Description" is not changing in the particular language which is been selected

So can anyone suggest me how do "Product Description" word in different languages as depending upon the selection

Shefali Shirodkar
AyanWorks Technology Solutions Pvt Ltd.

Post to:

The Splendid journey of 2 years in Numbers
Jay Vora,
Managing Director,
<img src="" style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Serpent Consulting Services Pvt. Ltd.
Web :
Mobile : 91 - 9879354457
Twitter: jaynvora
Skype: jaynvora
Blog :