summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2019-01-10 11:00:20 +0000
committerNicolas Lempereur <nle@odoo.com>2019-01-11 13:20:21 +0000
commitadb52c5d08899cf44067b8ae8d92b9802e96a9aa (patch)
tree9e160e92997ddd098f19e686d80b5c7be077f585 /addons/web/static/src/js/views/basic/basic_controller.js
parentbe6f1aa179ab252b0a75dcb872d30fcc1a8196b8 (diff)
[FIX] web: show page number in report
Following 4a3fd02af4 on the portal when displaying an invoice we may get a report_type variable (with value 'html' or 'pdf') on the portal. This was used to not display the page number when checking the report, but when the report is printed in the backend this report_type was unset so the page number was mistakenly removed too. With this changeset, the report alway know if he is pdf, html or text and only print the page number if it is of type pdf. opw-1924729 closes #30095
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions