summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2018-02-15 10:57:20 +0100
committerLucas Perais (lpe) <lpe@odoo.com>2018-02-15 13:22:39 +0100
commit6899bb829ab8408d6e37fb65615b13c790f49a03 (patch)
tree0a60f8a745b2969c2c9a2ab739b0dc7d84858394 /addons/web/static/src/js/views/basic/basic_model.js
parent259686ba78d7883b450fd014c5be8fa6622f77f3 (diff)
[FIX] point_of_sale: http fetch img require right headers
The pos must be in http to talk to the posbox The problem here is that imgs can sometime be fetch in https depending on the server's configuration Before this commit, when converting imgs to base64, a "Tainted canvas" traceback was thrown by the browser due to difference in domain that http VS https make After this commit, we explicitly allow cross origin when fetching the image while requiring the server to send the right headers OPW 805860
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions