diff --git a/views/calendar.xml b/views/calendar.xml index 780316da59992f34e9fd94b82909f72219c74578..e714a3d8c79b5644c70654214c1bb4bc25f92854 100644 --- a/views/calendar.xml +++ b/views/calendar.xml @@ -94,7 +94,7 @@ <field name="is_transfered" widget="toggle_button"/> <field name="is_attendee" invisible="1"/> <field name="project_id" options="{'no_open': True, 'no_create': True}"/> - <field name="coop_id" options="{'no_open': True, 'no_create': True}" domain="[('ur_id', '=', ur_id)]"/> + <field name="coop_id" options="{'no_open': True, 'no_create': True}" domain="[('ur_id', '=', ur_id),('is_company', '=', 'True')]"/> <field name="ur_id" invisible="1"/> <field name="partner_ids"