Impossible localization of '''Here is the procurement scheduling report...'''
Bug #783135 reported by
Chertykov Denis
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/
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
lp:~openerp-dev/openobject-addons/trunk-bug-783135-ron
- Rucha (Open ERP) (community): Approve
- Rohan Nayani(Open ERP) (community): Needs Resubmitting
- qdp (OpenERP): Pending requested
-
Diff: 46 lines (+11/-11)1 file modifiedprocurement/schedulers.py (+11/-11)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.