← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 783135] Re: Impossible localization of '''Here is the procurement scheduling report...'''

 

Hello,

I am confirming this issue for passing the default strings from code side. I have the problem in following code in scheduler.py
                        report.append('PROC %d: from stock - %3.2f %-5s - %s' % \
                                (proc.id, proc.product_qty, proc.product_uom.name,
                                    proc.product_id.name,))

In the above code the "PROC" and "from stock" always take string in
English language.

Similar thing is for the other string which is as below:

 summary = '''Here is the procurement scheduling report.
  
Thank you.

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

-- 
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/783135

Title:
  Impossible localization of  '''Here is the procurement scheduling
  report...'''

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  In OpenERP v6.0 and in trunk in file addons/procurement/schedulers.py
  line 103:     report.append('PROC %d: from stock - %3.2f %-5s ...'
  line 114:     summary = '''Here is the procurement scheduling report....'''

  The text messages above isn't use gettext and can't be localized.


References