From d9500890fd5bb2b7ac6538bc0b904a1a9c4ae42d Mon Sep 17 00:00:00 2001 From: lejeune quentin Date: Mon, 29 Jan 2024 10:00:00 +0100 Subject: [PATCH] [FIX] point_of_sale: Fix the version of the cryptography module for iot Currently the version of the cryptography module installed with the version of pyOpenssl 22.0.0 does not allow the execution of the Odoo server on the iot for versions 15, 16 and 17. With this change we explicitly give the version of the cryptography module 36.0.2 which corrects this problem. closes odoo/odoo#151504 Signed-off-by: Quentin Lejeune (qle) --- .../posbox/overwrite_before_init/etc/init_posbox_image.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh b/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh index 8c22d277047..1a07dc6158f 100755 --- a/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh +++ b/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh @@ -116,7 +116,8 @@ PIP_TO_INSTALL=" PyPDF2==1.26.0 \ Werkzeug==2.0.2 \ urllib3==1.26.5 \ - pyOpenssl==22.1.0" + pyOpenssl==22.0.0 \ + cryptography==36.0.2" pip3 install ${PIP_TO_INSTALL} --break-system-package