style: format backup service
This commit is contained in:
@@ -185,8 +185,7 @@ class BackupExportService:
|
|||||||
| Q(customer_ogrn__in=active_ogrns)
|
| Q(customer_ogrn__in=active_ogrns)
|
||||||
)
|
)
|
||||||
reports_qs = FinancialReport.objects.filter(
|
reports_qs = FinancialReport.objects.filter(
|
||||||
Q(registry_organization_id__in=canonical_org_ids)
|
Q(registry_organization_id__in=canonical_org_ids) | Q(ogrn__in=active_ogrns)
|
||||||
| Q(ogrn__in=active_ogrns)
|
|
||||||
)
|
)
|
||||||
report_ids = list(reports_qs.values_list("id", flat=True))
|
report_ids = list(reports_qs.values_list("id", flat=True))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user