Community mailing list archives

community@mail.odoo.com

Re: Language Problem in custom Report

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

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 <shefali.shirodkar@ayanworks.com> 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="o.product_id.name"/>                                                       
                </div>

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

 
Regards 
Shefali Shirodkar
AyanWorks Technology Solutions Pvt Ltd.

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
The Splendid journey of 2 years in Numbers
---
Regards,
Jay Vora,
Managing Director,
<img src="cid:part1.09000700.05080805@serpentcs.com" 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 : http://www.serpentcs.com
Mobile : 91 - 9879354457
Twitter: jaynvora
Skype: jaynvora
Blog : http://jayvora.blogspot.com