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

I want to change the thousands and decimal separators and date formats in order to be used in the Spreadsheets. However, after changing them in the Translation settings and applying the change, the Spreadsheets formats are still in the default format. What should I do?

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

Hi,

The default date format is MM/DD/YYYY. Suppose you need to change the date format to DD/MM/YYYY. To do the same, perform the following steps.

1. Navigate to the “Settings>Translations>Languages” Menu from the Administrator account.
2. Choose the language for which you want to change the date format from the list and open its form view and click on edit to modify.
3. For the format, MM/DD/YYYY, the entry in date format is “%m%d%y”. To change this to DD/MM/YYYY, we can modify it to “%d%m%y” and click on save.

OR

You can use this code.
1 . For forms or tree view use the widget ''date"

2 . For reports or qweb use

for t-esc ->  

for t-fields ->


Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 6 25
1699
0
thg 3 24
1806
3
thg 10 24
3559
0
thg 8 23
1376
0
thg 3 23
1850