diff --git a/mis_builder/models/mis_builder.py b/mis_builder/models/mis_builder.py index 6991366d..36c71839 100644 --- a/mis_builder/models/mis_builder.py +++ b/mis_builder/models/mis_builder.py @@ -458,11 +458,6 @@ class MisReportInstancePeriod(models.Model): self.date_to, self._context.get('tz', 'UTC'), add_day=1) domain.extend([(query.date_field.name, '>=', datetime_from), (query.date_field.name, '<', datetime_to)]) - # TODO: we probably don't need company_id here - if model._columns.get('company_id'): - domain.extend(['|', ('company_id', '=', False), - ('company_id', '=', - self.report_instance_id.company_id.id)]) field_names = [f.name for f in query.field_ids] if not query.aggregate: data = model.search_read(domain, field_names)