← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 690034] Re: no translation in pricelist report

 

Hi Fabien,


I cannot test now. But I am sure about the bug. 


In /addons/product/report/product_pricelist.py, context is not defined in some functions.


In "def __init__(self, cr, uid, name, context):", there is context param. I saved "self.context = context" to use later.


Everything OK.


Best regards,
  _____  

From: Fabien (Open ERP) [mailto:fp@xxxxxxxxxxx]
To: ngtienhy@xxxxxxxxxxx
Sent: Sun, 02 Jan 2011 19:30:44 +0700
Subject: [Bug 690034] Re: no translation in pricelist report

can you test if the problem is till there in trunk ?
  
  ** Changed in: openobject-addons
         Status: Confirmed => Incomplete
  
  ** Changed in: openobject-addons
         Status: Incomplete => Confirmed
  
  -- 
  You received this bug notification because you are a direct subscriber
  of the bug.
  https://bugs.launchpad.net/bugs/690034
  
  Title:
    no translation in pricelist report
  
  Status in OpenObject Addons Modules:
    Confirmed
  
  Bug description:
    The problem as follows:
  + The current language is vietnamese (vi_VN)
  + I have printed a Price list report with 'Public Pricelist' / 'Bảng giá công bố' (vietnamese of course)
  + In pdf report, the name of pricelist is 'Pricelist Public', not 'Bảng giá công bố'.
  + I have inserted [[setLang('vi_VN')]] into sxw. Nothing changed.
  
  I am using OpenERP 5.0.12
  
  To unsubscribe from this bug, go to:
  https://bugs.launchpad.net/openobject-addons/+bug/690034/+subscribe

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/690034

Title:
  no translation in pricelist report

Status in OpenObject Addons Modules:
  Fix Committed

Bug description:
  The problem as follows:
+ The current language is vietnamese (vi_VN)
+ I have printed a Price list report with 'Public Pricelist' / 'Bảng giá công bố' (vietnamese of course)
+ In pdf report, the name of pricelist is 'Pricelist Public', not 'Bảng giá công bố'.
+ I have inserted [[setLang('vi_VN')]] into sxw. Nothing changed.

I am using OpenERP 5.0.12





References