Merge dev into main #32

Merged
avm merged 31 commits from codex/merge-main-20260616 into main 2026-06-16 16:14:23 +03:00
Showing only changes of commit 3abb8025bf - Show all commits

View File

@@ -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))