Files
odoo_source/addons/web
Simon Genin (ges) 8835b3fe7a [IMP] web: export download file function
Currently, there is a download function exported that expects data and a url.
You would provide a controller url and some data to send, and the result would be downloaded.

However, it may be useful to sometimes trigger a download on the spot if there is no need to reach for a controller. Like having some json data and download it.

The code already existed, so this function is now exported as `downloadFile`.

closes odoo/odoo#118227

X-original-commit: cd9a5d491715247636d95c9f768ffc42616f4b47
Related: odoo/enterprise#39564
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
2023-04-13 15:26:52 +02:00
..
…
2023-04-05 09:42:32 +02:00
2023-04-07 19:43:20 +02:00
2023-03-24 12:50:13 +01:00