summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJoseph Caburnay <jcb@odoo.com>2020-08-12 12:00:21 +0000
committerJoseph Caburnay <jcb@odoo.com>2020-08-17 10:41:15 +0000
commit9f835a30df5c17d8a4f7630770655bb8f3175116 (patch)
tree82da59880a8a78dc8c9c323b59f940f41fc519bf /addons/web/static/src/js/views/basic/basic_controller.js
parentb1fb1e351a9cea0f45567d2973843ecbed93ce56 (diff)
[REF] point_of_sale: simplify media print
The old implementation manually sets 'display' to 'none' to the elements we don't want to see in the print. This is tedious because we need to identify every element to be hidden when in fact we know the only element that we want to print -- the receipt. So in this commit, we set the 'visibility' of all elements to 'hidden' and only the element tree of the receipt is set to visible.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions