summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2018-04-05 16:55:06 +0200
committerSimon Lejeune <sle@openerp.com>2018-04-06 17:05:14 +0200
commitf384db9b6752f5251f5f3ecee1d0020e29e8b2aa (patch)
treef41df3b0569f2ab8e75472b2304fee653dadedd3 /addons/web/static/src/js/views/basic/basic_controller.js
parent3242fced635aa3c243f7f527f2ad1e1179e91593 (diff)
[IMP] base, web: define landscape in report template
Since report refactoring the function to override is get_report_values that only returns a dict of value that are used in rendering. In order to render a pdf with a landscape orientation, a context key could be added however since it's not possible to return a report object in get_report_values, it's difficult to add a contexti without using some tricks. This commit add a report option to use in the template that will be used in order to modify the pdf orientation. The process used was already existing for other options like dpi,...
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions