Odoo Help

0

Not accepting date fields if in arabic language characters

By
Ammar
on 1/22/16, 4:27 AM 866 views

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.

0
Ammar
On 1/23/16, 4:03 PM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/22/16, 4:27 AM
Seen: 866 times
Last updated: 1/23/16, 4:03 PM