Daily updates from Odoo
Wednesday, July 25, 2018
2 changes · master
New functionality added to Odoo
This adds a way for reports to request exact page breaks inside tables, helping printed documents look consistent across browsers and PDF generation. It reduces issues such as repeated headers not appearing, awkward splits, or overlapping rows when long tables span multiple pages.
Original PR description
In theory, when printing tables which span more than one page browsers are supposed to repeat the `thead` (and `tfoot`) on every page. However only Firefox seems to do so (neither Chrome nor Safari). wkhtmltopdf then adds its own raft of issues wrt page-break on table rows (not working properly, rows overlapping, …) This is a hack do add support for explicit pagebreak requests in tables: just slap a `data-pagebreak=before|after` on the row and the table will be split with a CSS page-break directive added either just before or just after the row beating the attribute.
Administrators can now change whether certain system records are protected from future updates directly from the web debug tools. This makes it easier for companies to preserve or allow changes to important configuration records based on their own needs.
Original PR description
It is currently difficult to mark a record as noupdate Make it doable in one click. Problem raised at #25748 