Wrong representation of dates.
Bug #718040 reported by
Igor Jogla
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Undecided
|
Unassigned | ||
6.0 |
Invalid
|
Undecided
|
Unassigned | ||
Odoo GTK Client (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP sa GTK client R&D | ||
6.0 |
Fix Committed
|
Medium
|
OpenERP Publisher's Warranty Team | ||
Odoo Web Client |
Won't Fix
|
Undecided
|
Unassigned | ||
6.0 |
Won't Fix
|
Undecided
|
Unassigned | ||
Trunk |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I have changed the date format in English en_US language to %d-%b-%Y.
We have to do this as our tax department requires to show month name in date format to avoid misunderstanding.
But in this case PDF reports in English en_US like order, Invoice and etc shows date like 12-ôåâ-2011 instead of 12-Feb-2011.
Related branches
lp:~openerp-commiter/openobject-client/ach-6.0-opw-lp718040
- Naresh(OpenERP) (community): Needs Fixing
- Jay Vora (Serpent Consulting Services) (community): Needs Fixing
- Olivier Dony (Odoo): Pending requested
-
Diff: 27 lines (+15/-2)1 file modifiedbin/tools/datetime_util.py (+15/-2)
lp:~openerp-commiter/openobject-client/ach-trunk-opw-718040
- Naresh(OpenERP): Needs Resubmitting
-
Diff: 27 lines (+15/-2)1 file modifiedbin/tools/datetime_util.py (+15/-2)
summary: |
- Wrong representation of dates with month's name + Wrong representation of dates. |
Changed in openobject-client: | |
importance: | Low → Medium |
assignee: | nobody → OpenERP sa GTK client R&D (openerp-dev-gtk) |
Changed in openobject-addons: | |
status: | Incomplete → Invalid |
Changed in openobject-client: | |
status: | Fix Committed → Confirmed |
Changed in openobject-client: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think, I have similar issue. I hope I am not polluting this bug report.
I changed the en_US default date to get the Month name : %B %d, %Y in order to get February 13, 2011. I
First surprise: the month name seems to be taken from the locale of the server - On ubuntu I realized this because my desktop was in French: so I got février 2011 !
If you create a new invoice the default value for the date field is : '%B __, ____'.
Month name should come from the OpenERP language resource.
Also it should be great to have 2 dates format 1 for data entry, one for reporting.