orezvani
orezvani

Reputation: 3765

How to convert openerp 7 calendar

It's a short time that I am using openerp. I want to develop it, so that it uses Solar Hijri (Jalali) calendar (I don't need to change the dates in the database, I just want the users to interact with this type of dates --maybe a java script wrapper conversion).

I know java script and python to convert two dates Gregorian <-> Jalali , but I don't know how to port it to openerp. Can anybody help me do the task?

Upvotes: 1

Views: 570

Answers (2)

siddharth jambukiya
siddharth jambukiya

Reputation: 381

using this javascript lib http://farhadi.ir/projects/jalalijscalendar/ you can create web module.

Upvotes: 2

Parthiv
Parthiv

Reputation: 1010

You can achieve this by making a separate widget for "Jalali" calendar. How to make a widget, you can follow this documentation : https://openerp-web-v7.readthedocs.org/en/latest/ or https://doc.openerp.com/trunk/web/

Upvotes: 1

Related Questions