diff --git a/addons/event_crm/models/event_lead_rule.py b/addons/event_crm/models/event_lead_rule.py index b2e78f339bc..f4f62ee2b0e 100644 --- a/addons/event_crm/models/event_lead_rule.py +++ b/addons/event_crm/models/event_lead_rule.py @@ -93,7 +93,7 @@ class EventLeadRule(models.Model): help='Filter the attendees to include those of this specific event category. If not set, no event category restriction will be applied.') event_id = fields.Many2one( 'event.event', string='Event', - check_company=True, + domain="[('company_id', 'in', [company_id or current_company_id, False])]", help='Filter the attendees to include those of this specific event. If not set, no event restriction will be applied.') company_id = fields.Many2one( 'res.company', string='Company',