- Apr 24, 2023
-
-
hhn authored
-
- Mar 08, 2023
-
-
Henrich Neumann authored
- Jan 11, 2023
-
-
Jo Sama authored
Failed to update tests on the last commit.
-
- Jan 03, 2023
-
-
Jo Sama authored
The raising of exceptions when posting batches results in the Unknown-status never beeing returned from the API. Aditionally, it exposes transport specifics out of the client module. One should only do one of them, not both. Exception raising when posting sales orders is now removed.
-
- Nov 28, 2022
-
- Aug 17, 2022
-
-
Petr.Kalashnikov authored
Treating 404 differently based on the reasons and multiple fixes See merge request !30
-
- Jul 28, 2022
-
-
pka065 authored
-
- Mar 18, 2022
-
-
Ruben.Havre authored
BOOK-46: Made two batch fields optional, because sometimes when you retrieve a batch... See merge request !29
-
- Mar 11, 2022
-
-
Ruben authored
it will not fill these field, because they are not yet available, and therefore it would fail when parsing the data
-
- Feb 23, 2022
-
-
Ruben.Havre authored
Setra-133: Bugfix setra client batch api search See merge request !28
-
- Feb 21, 2022
-
-
rha104 authored
setra was crashing because wrong parameters was used to search for batches
-
- Jan 18, 2022
-
-
Petr.Kalashnikov authored
Setra111: uniformere svar fra put og post endepunkter See merge request !27
-
- Jan 14, 2022
-
-
Petr Kalashnikov authored
-
Petr Kalashnikov authored
-
- Dec 08, 2021
-
- Nov 25, 2021
-
- Nov 10, 2021
-
-
Jo Sama authored
requests.exceptions.JSONDecodeError is non existent in requests versions before 3.0.0. Therefore requests is pinned to 2.24 or greater, and we use ValueError instead of requests.exceptions.JSONDecodeError.
-
- Oct 18, 2021
-
-
Ruben.Havre authored
Setra-114: Sotra detail model changes: Make product_specification field optional See merge request !25
- Oct 13, 2021
- Sep 23, 2021
-
- Sep 22, 2021
-
- Sep 21, 2021
-
-
Jo Sama authored
This commit makes the interface of put_update_batch() quit similar to post_new_batch().
-
Jo Sama authored
The Setra API does not accept null values for attributes, but it accepts that the attribute is omitted. We should probably accept null values for fields in order to avoid obscure bugs like this, but it does not hurt to omit the values. At least we use less of the bandwidth! :)
-
- Sep 07, 2021
-
-
Ruben.Havre authored
Added sotra models and urls See merge request !19
-
Ruben.Havre authored
-
- Aug 16, 2021
-
-
Jo Sama authored
Exclude unset values from beeing transfered when posting a new batch to Setra. Setra does not accept fields set to None (at least period and vouchertype).
-
Jo Sama authored
This interface avoids leaking transport-specific information, while returning an indication of how the request fared so the user can decide on how to proceed with processing.
- Jul 15, 2021
-
-
Andreas Ellewsen authored
Clarify responses from post/put See merge request !18
-
- Jul 13, 2021
-
-
Andreas Ellewsen authored
Before this commit it was unclear whether a post request was successful or not. We now return the content and status to make this clearer
-
Andreas Ellewsen authored
Setra supports vouchertype being optional, so the client should as well.
-
- May 27, 2021
-
-
Jo Sama authored
This allows more readable code, as we can do if batch.batch_progress == BatchProgressEnum.VALIDATION_FAILED: instead of if batch.batch_progress == str(BatchProgressEnum.VALIDATION_FAILED): or if batch.batch_progress == BatchProgressEnum.VALIDATION_FAILED.value:
-
Jo Sama authored
Validation rule 12 defines period as an optional field. If empty, it will be populated by master data.