From f951b9ae8169c6d9564ea593cde68d0dd504a593 Mon Sep 17 00:00:00 2001 From: lejeune quentin Date: Wed, 7 Oct 2020 13:44:55 +0000 Subject: [PATCH] [FIX] point_of_sale: Fix http.py.iotpatch `http.py` had been modified so the file could be patched correctly with the previous version of the `http.py.iotpatch` file closes odoo/odoo#59439 X-original-commit: 1cde9f5fde19f8dba3a9720bc9eb71b7a74c4d72 Signed-off-by: Quentin Lejeune (qle) --- .../home/pi/odoo/odoo/http.py.iotpatch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo/odoo/http.py.iotpatch b/addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo/odoo/http.py.iotpatch index 65633c990a6..af29b3b9e4d 100644 --- a/addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo/odoo/http.py.iotpatch +++ b/addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo/odoo/http.py.iotpatch @@ -1,6 +1,6 @@ ---- http_old.py 2020-08-24 10:12:59.962991214 +0200 -+++ http_new.py 2020-08-24 10:18:12.747156571 +0200 -@@ -761,7 +761,7 @@ +--- http_old.py 2020-10-07 15:25:08.432430021 +0200 ++++ http_new.py 2020-10-07 15:26:05.088492713 +0200 +@@ -764,7 +764,7 @@ if self._is_cors_preflight(request.endpoint): headers = { 'Access-Control-Max-Age': 60 * 60 * 24, @@ -9,7 +9,7 @@ } return Response(status=200, headers=headers) -@@ -1507,7 +1507,7 @@ +@@ -1510,7 +1510,7 @@ """ httprequest = httprequest or request.httprequest