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.

0

How to filter from date and to date using calender.

By
mano
on 6/3/15, 1:16 AM 665 views


I'd like to filter some fields by date, This is the search view , it work good:

<record model="ir.ui.view" id="moulin_view_search">

<field name="name">test.base.graph.view26</field>

<field name="model">test.base</field>

<field name="arch" type="xml">

<search string="My Dashboard">

<field name="create_date" />

<filter name="filter_see_all" string="All" domain="['',('create_date','>','2015-05-29 12:12:12.120')]" context="{'group_by':'create_date:minute'}"/>

</search>

</field>

</record>

But i need to let the user select the date, without passing it in the code directly.

For example I want to let the user chose date with this calendar:

User should select date from calander.

Any update on this question ?

Solanki Shamji
on 8/4/15, 9:59 AM

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

1 follower(s)

Stats

Asked: 6/3/15, 1:16 AM
Seen: 665 times
Last updated: 8/21/16, 5:37 AM