Odoo Help

2

1
2 Answers
3
Avatar

Solanki Shamji India

--Solanki Shamji--

1366
| 5 2 9
Baroda, India
--Solanki Shamji--

Hello!

Solanki Shamji India
7/22/15, 2:19 AM

Hello,

Check with this may be it will help you or you can get idea

<filter string="Order Month" domain="[]" context="{'group_by':'date_order:day'}"/>

1 Comment
Mostafa Abd El Fattah Egypt
9/20/16, 6:47 AM

can i show weekday instead of :day it gave me error in context i want to show weekday abbr too

-1
Avatar

Rihene France

--Rihene--

1281
| 5 2 9
Paris, France
--Rihene--


Rihene France
7/23/15, 9:04 AM

Add a filter in your XML like this:

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

<field name="model">xxxxx</field>

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

<search string="XXXX">

<field name="order_date"/>  

<group expand="0" string="Group By...">

<filter string="Date Order" icon="terp-personal" domain="[]" context="{'group_by':'order_date'}"/> 

</group>

</search>

</field>

</record>

Regards.

Ask a Question
Writer
11631
Prakash
Keep Informed
1 follower(s)
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