summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/layout_background.less
AgeCommit message (Collapse)Author
2018-09-13[FIX] web: background layout landscape no +1 pageNicolas Lempereur
The report layout "background" has an image background from bottom to top. When we transform the report in PDF, we have no idea in the document of how many page, which orientation, width or height it will take. Thus to be able to have the background at the bottom of a page when there is not enough content, we set a min-height for the body content. This height was 1000px originally and has been decreased to 900px in 41c75ad0c3 because an empty page was possibly added (since the height of body + header + footer was bigger than page size). This issue is about getting a blank page when pdf is in landscape. For example in A4 with 90ppi has a 1052px height in portrait, but 744px height in landscape so we always get at least two pages with possibly a blank one. With this commit we lower it to 620px allowing 124px headers/footers. opw-1881059 closes #26962
2017-06-01[MERGE] Forward-port saas-16 up to ba15df47cb25625cb0921cba554aa0879048c90aOlivier Dony
2017-05-11[FIX] base, report: fix choose report template broken by 'new report'Thibault Delavallée
Report module has been cleaned and moved into base at https://github.com/odoo/odoo/commit/e80238042c9d93d492ea8b06b0041aced0d81dcd. However there are leftover references to report module. This crashes the template choice feature.
2017-05-08[REF] report: remove the report moduleLaurent Smet
The content of the report module is now dispatched in the 'base' and the 'web' modules.