Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
3109 Lượt xem

Hi,

I'm new to Odoo.

I want to make a JavaScript function globally for changing all date types from Gregorian to Jalali or Shamsi all over the Odoo . I want to show all calendar in Odoo as Shamsi calendar.

There are some out-dated apps at Odoo app store and I tested some of them and they didn't worked in Odoo 12.

I found out that Odoo uses moment.js for dealing with dates. I found moment jalali for converting Gregorian date to Jalali date but I don't know how to use it in Odoo.

Is there another way to change dates, calendars and datepickers from Gregorian to Jalali ?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

fadoo in github is iran localization project

you can use free module

Ảnh đại diện
Huỷ bỏ


I am working on localization modules in Iran
The name of the project is fadoo and a group of Iranian programmers will be added to this team soon

https://github.com/FadooIR
https://github.com/FadooIR/l10n-iran
https://github.com/OCA/l10n-iran
http://fadoo.ir/en/

Câu trả lời hay nhất

Hi misaghmi, this is my problem, do you find resolve for this problem??

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 24
1969
1
thg 7 20
4945
1
thg 3 15
5233
4
thg 7 24
10678
1
thg 6 23
2867