summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2018-08-02 14:29:53 +0200
committerChristophe Matthieu <chm@odoo.com>2018-08-13 17:09:28 +0200
commit60318c76dd1f35d9d538d0b55b0f5ed7c5f13ccc (patch)
tree5c34a11f1a151f191e0213ad45105e5119a0f536 /addons/web/static/src/js/views/basic/basic_controller.js
parent9eef25ae0ab557f333ae5c6ff0f5699981f0bd00 (diff)
[IMP] base: get print paper size
When using a paper format to print a report, one needs to pass the format to wkhtmltopdf (with --page-size, e.g. "A5"). The information about the print page size (width, height) has been added on the paper.format model. It is used in Studio to correctly display the report preview in HTML without printing the report.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions