Odoo Help

1

How to convert datetime to date only?

By
Jessie
on 8/6/13, 5:36 AM 2,284 views

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

0

Omal Bastin

--Omal Bastin--
1176
| 6 6 8
Kochi, Kerala, India
--Omal Bastin--

Swiming deep into openERP/ODOO

Omal Bastin
On 8/6/13, 7:00 AM

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

0
Luís
On 8/6/13, 8:19 AM

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

0
Jessie
On 8/6/13, 7:24 AM

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 8/6/13, 5:36 AM
Seen: 2284 times
Last updated: 3/16/15, 8:10 AM