Odoo Help

Welcome!

This community 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.

1

search view date datetime

By
zineb
on 3/9/13, 5:25 AM 1,088 views

When I do research on a datetime field, I can not get the date , I want to do a search on a datetime field without taking into account the hours and minutes and without making the type date of field.

example : i have

    'date_visite' : fields.datetime(u'Date visite client'),

but in search view : i must type the compelete date with h:m:s to get the result for my search

i want not type h:m:s

Hi, At least you can answer if the answer is good or not, and in the first case, close the question by checking the grey "V" under the number of vote on the left of an answer. I verify all your questions and it seems you do not do it, You answer just to questions which are blocking the answer you stand, and after that, no comment, no thanks, nothink. I think you do not understand how works this forum, other contributors will appreciate this as they want ....

Cyril Gaspard (GEM)
on 3/13/13, 5:40 PM
0

Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--
4136
| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 3/9/13, 7:39 AM

Hi,

use :

'date_visite' : fields.date('Date visite client'),

bye

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 3/9/13, 5:25 AM
Seen: 1088 times
Last updated: 3/16/15, 8:10 AM