Daily updates from Odoo
Wednesday, July 25, 2018
5 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 
Enhancements to existing features
Sales teams can now be notified more reliably when new online orders or opportunities are created. The update also improves CRM sales team defaults, messaging, email links, and how activity changes are shown so teams can react faster and with clearer context.
Original PR description
Task : https://www.odoo.com/web#id=1849164&action=333&active_id=1251&model=project.task&view_type=form&menu_id=4720 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Financial reports can now include page breaks before selected report lines, giving users more control over printed or exported report layout. The underlying report templates were also reorganized to make future report customizations easier and more reliable.
Original PR description
* Added the possiblity to insert a page-break before a report line (boolean to thick in the cosmetic options of the line) * Refactoring to ease the reuse of the \<thead> tag (needed in case of page-break) * Refactoring to avoid having to inherit the main template to call the good line template, in case only the line template has been inherited by a report Was part of task 38862.
Financial reports can now be set to start selected lines on a new page, improving printed or PDF report presentation. The update also streamlines report layout templates so these formatting changes are easier to reuse and maintain.
Original PR description
* Added the possiblity to insert a page-break before a report line (boolean to thick in the cosmetic options of the line) * Refactoring to ease the reuse of the <thead> tag (needed in case of page-break) * Refactoring to avoid having to inherit the main template to call the good line template, in case only the line template has been inherited by a report Actual page-break is implemented in odoo/odoo#25972 Was part of task 38862.