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

by default the date format is seen to be mm/dd/yyyy,. but i need dd/mm/yyyy format .how can i make this change..? can anybody help me please....?(i am a beginner in openerp)

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

First you need to enable the Technical Features under your user account, then go to Settings->Translations->Languages. Edit your current language and change the date format.

Regards..%

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

To have it on your PDF in correct format you have to take care in wich country your Company is located:
Settings - Companies - Your Company Address Field: Country

The Language of that country will be used for your Header and Footer of PDF-Reports.
If you have set e.g. "germany" as Adress of your company then you have to change the format of Language German:

Odoo allows changing date format on a database level for every language. 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 “Settings>Translations>Languages” Menu form Administrator account.

  2. Choose the language for which you want to change the date format from the listandopenitsform 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.
    https://apagen.files.wordpress.com/2013/04/3.png

  4. You can now see any list or form view in the system to see the changes. 



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

I usualally use this method but with the l10n_hr_in_payroll it not working for payment advice editing. Why?

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

its showing in views(tree view and form view..) like dd/mm/yy its working fine Thank you # ..but  in database it had stored like yy/mm/dd..because im printing a one object value in pdf at that time date has come like yy/mm/dd but i want dd/mm/yy on pdf.... problem is storing data in database.. its storing like yy/mm/dd so when we storing in database i want store like dd/mm/yy so how can i achieve this one??

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 25
1787
0
thg 10 23
2981
2
thg 10 23
2555
0
thg 9 23
1379
13
thg 9 24
47219