Skip to content

Commit

Permalink
Merge PR #884 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by hparfr
  • Loading branch information
OCA-git-bot committed Sep 23, 2024
2 parents bd3f2e8 + 212dddb commit 13991e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions delivery_roulier_laposte_fr/models/stock_quant_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def _laposte_fr_invalid_api_input_handling(self, payload, exception):

def _laposte_fr_carrier_error_handling(self, payload, exception):
response = exception.response
request = response.request.body
request = response.request.body.decode("utf-8")

if self._uid > 2:
# rm pwd from dict and xml
Expand Down Expand Up @@ -142,7 +142,7 @@ def format_one_exception(message, map_responses):
"Incident\n-----------\n%s\n"
"Données transmises:\n"
"-----------------------------\n%s"
) % ("\n".join(parts), request.decode("utf-8"))
) % ("\n".join(parts), request)
return ret_mess

def _laposte_fr_get_tracking_link(self):
Expand Down

0 comments on commit 13991e3

Please sign in to comment.