This question has been flagged
24 Replies
11136 Views

How can I convert the georgian date widget to arabic hijri widget so that i can use the arabic months in openerp 7 ?

Avatar
Discard

Dear Mohamed Manasour is it your hijri calendar working fine please help me to fix this problem ?

Best Answer

You should start HERE. ( A good start from Fabien Pinckaers)

HereYou can find a python date_utils module (not to be confused with python-dateutil),which can manage Islamic Calendar.

http://sourceforge.net/projects/pythondateutil/files/pythondateutil/1.0/

And here (http://bazaar.launchpad.net/~bayazee/pycalverter/pyCalverter-dev/files), there is a calendar converter [calendars (hijri, jalahi, gregorian]. A more recent link

For the JS part, see the following links to find how you can overwrite the default calendar widget:

http://www.al-habib.info/islamic-calendar/hijricalendar-kuwaiti.js

and http://farhadi.ir/projects/jalalijscalendar/

Here is what i get, after two days of work with javascript:

Hijri today Field

Deleting the previous answer, and moving to a new question.

I'll post the LINK of the NEW QUESTION here

link to the new Question

Avatar
Discard
Author

do you have any patches to solve this problem or there is a module to support hijri date in openerp 7.

I also want to implement hijri date in openerp 7. I dont want any conversion.

@Med Said BARA,I tried all these javascript files, but no change in the default calendar. Can you please tell me the apt path to save these files?

@Med Said BARA, first i installed python-dateutil, Next i downloaded each files and tried each one. But no output. I think my way of doing is wrong. Can you please help me, where i save these js files?

These files are for reading and to be compared with the original JS file, to see how it can be modified. I will elaborate a more complete response ASAP.

@Med Said BARA, Thanks Med. It will be very helpful to me. I am newbie in openerp. But i got a challenging requirement like this. I am working on this for last 1 week, but no solution. Can you please tell me path of the original js in openerp7?

@Med Said BARA,Any solution?

@Med Said BARA, Can you please post the answer? I am waiting for it, it will be very useful to me.

@Med, any solution to implement hijri calendar in my db? I am waiting for you answer. Did you know to implement it? Please response earlier.

Please, be patient.

@Med Said BARA, Any updates?

@Med Said BARA, Nice work.

@Med Said BARA, Nice work by you. I tried many ways. But didnt get any output. Awaiting your reply.

Did the .js files ready,Med Said BARA?

Got error: Uncaught TypeError: Object Thulatha, 7 Safar 1435 AH has no method 'getTime' Any Idea??

I'm working on correcting this bug. Continue testing the modified fiels, and submit all the errors, bugs, and ideas (with a description if possible)... Thank you.

I'm also trying solve this. If got solution, i'l definitely post the answer. Thank you.

Also got this error: Uncaught TypeError: Cannot call method 'on_message_detroy' of undefined

Error: 'Ithnain, 3 Rabi'ul Akhir 1435 AH' is not a correct date, datetime nor time

Best Answer

Mohammed Mansour,

you can explore https://apps.odoo.com/apps/modules/11.0/web_hijri_date/

Thank you

Avatar
Discard
Best Answer

Any advice regarding Hijri Calendar Widget ..

see the below url

https://www.odoo.com/fr_FR/forum/help-1/question/urgent-islamic-date-widget-issue-73745

Avatar
Discard