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

Hi all,

I want to display the Creation Date in dd/MM/yyyy format instead of 06/08/2013 14:42:29 on Sales->Leads module. May I know where can i modify the date format?

Many thanks.

Regards, Jessie

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

Hi,

I don't know if you pretend change the core files or inherit the class and change that field.

However the field is declared like this:

'date_start': fields.date('Date'),

I hope this helps

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

create a custom module and inherit the crm.lead model and define create_date as date field

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

Hi Omal,

Do you means I need to go to Settings->Technical->User Interface->Customized Views?

The external id is crm.crm_case_tree_view_leads and object is crm.lead.

So, how I can inherit it and define create_date as date? Could you please give me some guidelines?

Many thanks.

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