[FIX] website_event_questions: filter hiding cancelled registration
Before this commit, there was no way in the event question report to filter out cancelled registration After this commit, we introduce a filter for it OPW 2072973 closes odoo/odoo#37032 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
This commit is contained in:
@@ -40,6 +40,9 @@
|
||||
<filter string="Event" name="group_by_event" context="{'group_by': 'event_id'}" />
|
||||
<filter string="Question" name="group_by_question" context="{'group_by': 'question_id'}"/>
|
||||
<filter string="Answer" name="group_by_answer" context="{'group_by': 'answer_id'}" />
|
||||
<filter name="exclude_cancelled"
|
||||
string="Exclude cancelled registrations"
|
||||
domain="[('attendee_id.state', '!=', 'cancel')]" />
|
||||
</group>
|
||||
</search>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user