Daily updates from Odoo
Navigate
Branch
Wednesday, July 25, 2018
12 changes
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
Demo records now use clearer English-friendly names, updated images, and US-style contact details. This makes sample databases feel more realistic and consistent with the wood shop/manufacturing demo theme, improving demonstrations and onboarding.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
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
The accounting setup screen now visually highlights accounts where an opening balance has already been entered. This helps users quickly see which accounts have been configured and reduces the chance of overlooking setup work.
Original PR description
See task https://www.odoo.com/web?#id=1866995&action=333&active_id=967&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
This updates a required background library so Odoo remains compatible with Python 3.7. It is a maintenance change that helps keep the platform running on supported infrastructure without changing business features.
Original PR description
Description of the issue/feature this PR addresses: Version 3.13 supports Python 3.7. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr @Tecnativa
Demo customer and employee records were refreshed with clearer English-friendly names, updated photos, and US-style contact details. The sample data now better matches the wood shop/manufacturing theme, making product demonstrations feel more consistent and realistic.
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.
Resolved issues and error corrections
Grouped data queries can now skip fetching display names when that information is not needed. This reduces unnecessary processing and can make reporting or summary calculations faster without changing the results users rely on.
Original PR description
@odony When you `read_group` to compute some stuff (exemple : number of sale for a product), the `name_get` is compute for each record. But this information is computed for nothing. https://github.com/odoo/odoo/issues/22783 To no compute the name_get : `self.env['your_model'].with_context(no_name_get=True).read_group()` What do you think ? (or maybe create `read_group_fast()` methode, or use `fast_compute` for the context) @alnslang -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Clicking a partner from a form now opens the complete partner record instead of a simplified version. This gives users immediate access to all partner details and avoids extra navigation when reviewing or editing customer and contact information.
Original PR description
… on partner click in form view. Cliking on the partner in the form should open full partner form. so set high priority to the full partner form than partner short form. Before this commit: Clicking on the partner in form opens short partner form view. Related to Issue: 1865330 Issue : https://www.odoo.com/web#id=1865330&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.e06d9971a6d5be6d438c2ccbacf24fd6 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an installation problem in the India sales localization by removing a reference to a file that no longer exists. Businesses using Indian sales features can install or update the module without being blocked by this packaging error.
Original PR description
Task link: https://www.odoo.com/web#id=1867432&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720 Pad link: https://pad.odoo.com/p/r.7b10a6923a7fb98062d07d2c9a7867ea Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr