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

Bug #783135 reported by Chertykov Denis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

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.

Related branches

Revision history for this message
Edwin Dsouza(OpenERP) (eds-openerp) wrote :

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:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Rohan Nayani(Open ERP) (ron-tinyerp) wrote :

Hello,

Thanks for Reporting.
It has been fixed in lp:~openerp-dev/openobject-addons/trunk-bug-783135-ron
Revision ID: <email address hidden>
Revision num:4702.

It will be available in trunk soon.

Changed in openobject-addons:
status: In Progress → Opinion
status: Opinion → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.