fix ozon
This commit is contained in:
@@ -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})"
|
||||
|
||||
Reference in New Issue
Block a user