When I try to save any form with a date field populated with Arabic langauge characters (namely Hindi numerals) it will not validate and raise error. I am using odoo 9. All fine if working in English language interface.
Any help will be appreciated.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
When I try to save any form with a date field populated with Arabic langauge characters (namely Hindi numerals) it will not validate and raise error. I am using odoo 9. All fine if working in English language interface.
Any help will be appreciated.
What I did to overcome this issue is to change the locale file for moment.js in addons/web/static/lib/moment/locale in which ar.js is being used. The trick is to change all Hindi characters with Arabic numerals in this file and clear the cache from the browser.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up