Has anybody tried to upload a file from the Odoo website, encode it in base64 to pass it along in the JavaScript and then call a controller to
13 Jul 2017 How to open a pdf downloaded from an API with JavaScript a Base64 string to encode the URI as the file to be displayed as a PDF in Internet The download() function is used to trigger a file download from JavaScript. data, or via a dataURL representing the file's data as base64 or url-encoded string. If you are decoding a binary file, use the 'DECODE AND DOWNLOAD' button. The decoder will try to figure out the All rights reserved | This template is made with by Colorlib