fix: create organizations from form uploads
All checks were successful
CI/CD Pipeline / Code Quality Checks (push) Successful in 1m36s
CI/CD Pipeline / Run Tests (push) Successful in 2m12s
CI/CD Pipeline / Build and Push Dev Images (push) Successful in 37s
CI/CD Pipeline / Deploy Dev via Compose (push) Successful in 24s

This commit is contained in:
2026-06-02 00:28:09 +02:00
parent 943abb16ce
commit d112d1715f
17 changed files with 372 additions and 14 deletions

View File

@@ -253,7 +253,7 @@ class BaseExcelParser(ABC, Generic[T]):
]
def create_record(self, row_data: RowData) -> FormF1Record:
org = OrganizationService.get_required_by_inn(...)
org = OrganizationService.get_or_create_from_form_identifiers(...)
return FormF1Record.objects.create(organization=org, ...)
"""