Odoo Help

Welcome!

This community 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.

0

Not accepting date fields if in arabic language characters

By
Ammar
on 1/22/16, 4:27 AM 565 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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