1

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?

4

2 回答 2

2

使用这个 javascript 库http://farhadi.ir/projects/jalalijscalendar/你可以创建 web 模块。

于 2013-10-04T13:24:51.953 回答
1

您可以通过为“Jalali”日历制作一个单独的小部件来实现这一点。如何制作小部件,您可以按照以下文档进行操作:https ://openerp-web-v7.readthedocs.org/en/latest/或https://doc.openerp.com/trunk/web/

于 2013-08-25T09:22:07.657 回答