Skip to content

Commit

Permalink
Merge PR OCA#3431 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by sergiocorato
  • Loading branch information
OCA-git-bot committed Jun 17, 2024
2 parents a3714cb + 7917308 commit f8ff266
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def act_getfile(self):
arrayRiba.append(Riba)

out = base64.encodebytes(
self._creaFile(array_testata, arrayRiba).encode("utf8")
self._creaFile(array_testata, arrayRiba).encode("ascii", errors="replace")
)
self.write(
{"state": "get", "riba_txt": out, "file_name": "%s.txt" % order_obj.name}
Expand Down

0 comments on commit f8ff266

Please sign in to comment.