In openerp 7 related date field in Search view group by not working
Code:-
'date' : fields.related('intake_id', 'date', type="function", relation="table2.object", string="Date"),
<filter string="Date" icon="terp-partner" domain="[]" context="{'group_by':'date'}"/>
In the table1.object list view the code added. its shows errors date field not find in table2.object.
So applied the below code using dot notation with object name or many2one field.
<filter string="Date" icon="terp-partner" domain="[]" context="{'group_by':'table2_object.date'}"/>
or
<filter string="Date" icon="terp-partner" domain="[]" context="{'group_by':'intake_id.date'}"/>
But facing the same issues...