fix: create organizations from form uploads
All checks were successful
All checks were successful
This commit is contained in:
@@ -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, ...)
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user