Daily updates from Odoo
Tuesday, May 13, 2025
3 changes · 18.0
Enhancements to existing features
Draft invoice PDFs using the Wavy or Bubble layouts no longer show an empty grey information box. This makes draft invoices look cleaner and more professional when shared or reviewed before validation.
Original PR description
Before this commit, for the layouts "Wavy" and "Bubble", when they're applied when printing Draft Invoices, the grey box (with id=informations) has no data and appears as a weird gray line. This commit hides this grey box by adding to it an outer `t-if` condition. task-4670747 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Report sections that contain no content are now automatically identified so they can be hidden or styled appropriately. This prevents empty colored strips from appearing in invoice report layouts, improving the polish of generated documents.
Original PR description
Problem: Consider a report element that is styled to have padding and backgroud color. When such an element has no content (or only whitespaces), it would show an undesired colored strip. Problem example: Invoice Wavy & Bubble reports for a draft invoice that has no date, the div with id=informations would show a colored strip when it has no content. Solution: This commit adds a tiny JS snippet that marks empty elements in reports with a class, similar to the new css `:blank` selector: https://developer.mozilla.org/en-US/docs/Web/CSS/:blank This way, such elements can be selected and styled as desired in css. task-4670747 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The appraisal template wording was revised to correct translation-related phrasing issues. This helps employees and managers see clearer, more accurate appraisal content in the HR app.
Original PR description
Edited the template wording to fix some incorrect translations task number: 4791321