summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2017-02-02 15:39:30 +0100
committerMartin Trigaux <mat@odoo.com>2017-02-03 11:38:29 +0100
commit19a11a12f433e93c95312ef407ac7bfd27586799 (patch)
tree08a86f8b266b37d119560e36bf5388dea0ff6606 /addons/web/static/src/js/views/basic/basic_controller.js
parenta53063606a5aff62963f0cc4a149539ec35623b1 (diff)
[FIX] point_of_sale: export orders and traceback now work for debugging.
In debug mode the buttons "export unpaid orders" and "export paid orders" now work. On first click, they prepare the file and display the download link. On second click, the file is downloaded. The error popup uses the same method to download the traceback. Use a different icon to have a visual feedback why that 2 clicks are needed. This 2 steps is required as it is not possible in most browsers to simulate a click event on a link. The download method is kept for backward compatibility but will be droped in master. In the next version, a proper popup will be integrated (cf #14365) Closes #15322
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions