[trunk/7.0]Unrecognize translated month names in date fields
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP R&D Web Team |
Bug Description
In a date field, after choosing a date from the date picker, the chosen date is inserted into the date text field after translation. The system does not recognize the translated date and validation fails, preventing any action on those date fields.
Example:
Using the Arabic language..
Create a new Sales Order, fill in a customer and a product, leave the default date or pick one using the date picker, then click "Update" next to the total.
I get:
The following fields are invalid:
التاريخ (Translation: Date)
When the English language is used, dates are all numeric.
When the Arabic language is used, months are strings (month name).
If I manually change the month name to the English name (string), it is accepted.
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 24 lines (+12/-1)1 file modifiedaddons/web/static/lib/datejs/parser.js (+12/-1)
Actually this is not the same bug as bug #1101072.
Bug #1101072 is about the date picker dialog being untranslated.
This bug is about the result of the date picker (after picking a date) being translated but unrecognized by the system as a date.