Open Zodk2 opened 1 year ago
The encodestring() and decodestring()was removed in Python3.9
encodestring()
decodestring()
From Python bugs:
base64.encodestring() and base64.decodestring() are aliases deprecated since Python 3.1: encodebytes() and decodebytes() should be used instead.
base64.encodestring()
base64.decodestring()
encodebytes()
decodebytes()
Just go to /addons/custom_addons/jasper_reports/wizard/jasper_create_data_template.py and replace the following line:
base64_str = base64.encodestring( With base64_str = base64.encodebytes(
base64_str = base64.encodestring(
base64_str = base64.encodebytes(
The
encodestring()
anddecodestring()
was removed in Python3.9From Python bugs: