Browse Source

[ADD] group by deadline in survey search

12.0
Rémi FRANÇOIS 5 years ago
parent
commit
1b9ef7b41e
  1. 14
      survey_deadline_autoclose/views/survey_survey.xml

14
survey_deadline_autoclose/views/survey_survey.xml

@ -64,4 +64,18 @@
</field>
</record>
<record id="survey_survey_search" model="ir.ui.view">
<field name="name">survey_deadline_autoclose survey.survey search</field>
<field name="model">survey.survey</field>
<field name="inherit_id" ref="survey.survey_survey_view_search"/>
<field name="priority">28</field>
<field name="arch" type="xml">
<search position="inside">
<group expand="0" string="Group By">
<filter string="Échéance" name="group_date_deadline" context="{'group_by':'date_deadline:month'}"/>
</group>
</search>
</field>
</record>
</odoo>
Loading…
Cancel
Save