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 7f9cad6b1a8..7bcfb3e9578 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,15 @@ ---- http_old.py 2019-11-07 15:01:37.190918774 +0100 -+++ http_new.py 2019-11-07 15:02:16.406711394 +0100 -@@ -1496,7 +1496,7 @@ +--- http_old.py 2020-02-27 10:56:47.236000000 +0100 ++++ http_new.py 2020-02-27 10:58:30.737536611 +0100 +@@ -763,7 +763,7 @@ + if request.httprequest.method == 'OPTIONS' and request.endpoint and request.endpoint.routing.get('cors'): + headers = { + 'Access-Control-Max-Age': 60 * 60 * 24, +- 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept' ++ 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept, X-Debug-Mode' + } + return Response(status=200, headers=headers) + +@@ -1497,7 +1497,7 @@ """ httprequest = httprequest or request.httprequest