[FIX] website_calendar: remove privacy in search filter

Remove the field privacy in the search view since privacy
is not considered as a public field.

task-2285901

closes odoo/odoo#55398

X-original-commit: 0f6a531dcd7bba270ba83627d7140a76459c6d08
Related: odoo/enterprise#12193
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Jérémy Hennecart
2020-08-04 14:26:58 +00:00
parent af7b23f4ae
commit 1ea07e47fc
-2
View File
@@ -278,7 +278,6 @@
<field name="categ_ids"/>
<field name="user_id"/>
<field name="show_as"/>
<field name="privacy" string="Privacy"/>
<!-- TODO clean this filter and context key -->
<filter string="My Meetings" help="My Meetings" name="mymeetings" context='{"mymeetings": 1}'/>
<separator/>
@@ -288,7 +287,6 @@
<group expand="0" string="Group By">
<filter string="Responsible" name="responsible" domain="[]" context="{'group_by': 'user_id'}"/>
<filter string="Availability" name="availability" domain="[]" context="{'group_by': 'show_as'}"/>
<filter string="Privacy" name="privacy" domain="[]" context="{'group_by': 'privacy'}"/>
</group>
</search>
</field>