This commit is contained in:
2026-02-13 15:27:37 +03:00
parent b406147293
commit 3230f0b774
3 changed files with 4 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ class DocumentCreation:
data = self.build_dict(**kwargs)
self.contragent = kwargs.get("Контрагент_Key")
##
response = self.session.post(self.url, json=data)
response.raise_for_status()
result = response.json()
@@ -33,6 +34,7 @@ class DocumentCreation:
self.save_key_txt(document_key)
return document_key
def fill_document_items_purchase(self, document_key: str, validated_rows: list):
line_url = f"{self.url}({document_key})"