Tuesday, March 10, 2026
17 changes · master
Resolved issues and error corrections
This update fixes an issue related to managing private cities within the payroll system. A new module, `hr_address_extended`, has been added to handle this functionality, particularly when the ‘enforce_cities’ setting is enabled. This ensures accurate city data is captured and utilized for payroll calculations.
Original PR description
. Add new module hr_address_extended to handle M2O private_city field if enforce_cities is enabled . Add hr_address_extended to l10n_us_hr_payroll dependencies . Add Corresponding tests task-5877610
This update prevents the payslip validation process from failing if the wkhtmltopdf dependency is not present. The system now automatically generates PDFs via a scheduled task (cron) instead, ensuring payslips can still be processed without requiring the user to install wkhtmltopdf. This improves usability and avoids unnecessary disruptions.
Original PR description
You don't want to block the payslip flow if wkhtmltopdf is not installed. This commit avoids that by redirecting the pdf generation to the cron if not installed. That way, it won't affect the state of the payslip. task-6013936
This update allows users to directly edit the name of a Pay Run within its Kanban view, providing greater flexibility in managing payroll records. Previously, changes were only possible when viewing the Pay Run details. This enhancement simplifies the process of updating Pay Run names and improves user workflow.
Original PR description
This change restores inline editing of the Pay Run name in their (default) kanban view. task-5981049
This update adds a toast notification to the payslip view when a PDF is generated. Previously, users weren't informed about the progress of PDF creation, leading to uncertainty. This change provides clear feedback, ensuring users know the PDF generation process has started and completed successfully.
Original PR description
[IMP] hr_payroll: toast notification during PDF generation In payslip views, there were no toast notifications when we press to generate PDF. It was not clear whether they are generated or not and that's why we implemented this feature. task - 5975715
This update corrects a display issue within the tax return checklist. Previously, the system incorrectly flagged 'bill attachments' as an anomaly even when documents were attached to bills. Now, if all bills have attachments, the system correctly displays 'reviewed' instead of 'anomaly', streamlining the tax return process.
Original PR description
When going through checklist of tax return, anomaly is created for "bill attachments" even when a document is attached to bill. If all bills have attachment, state should not display "anomaly", but "reviewed" instead The reason of the bug is that the domain is looking for attachment to account.move which ignore the documents in the chatter, while the bill is actually attached in the chatter. task: 5408611
This update corrects a technical issue related to how the system accessed barcode target records, preventing performance problems. The change simplifies the process and avoids potential problems with future updates, ensuring consistent and reliable barcode scanning functionality. This resolves a bug that could impact user experience.
This update resolves a bug that caused the AI chat composer to crash when using the HTML editor. The fix ensures focus handling works correctly for both the text and HTML composer modes, preventing errors and improving the user experience.
Original PR description
*=ai_app In AI chat, focusing the composer used to call ev.target.select(). That works for the text composer (textarea), but not for the HTML composer (contenteditable), where select() doesn’t exist and causes a TypeError. This update makes focus handling respect the active composer mode: - text mode keeps the existing select behavior - html mode uses the editor focus path instead task-5981018 Forward-Port-Of: odoo/enterprise#109865 Forward-Port-Of: odoo/enterprise#109163
This update removes unnecessary customizations related to Swiss payroll calculations within the payrun process. The core logic has been corrected, making these overrides no longer required. This simplifies the system and ensures accurate payroll processing.
Original PR description
Not necessary anymore, standard logic has been fixed Forward-Port-Of: odoo/enterprise#108121
This update fixes a bug preventing warnings on the EC Sales List when customers don't meet specific criteria (e.g., location within Europe). Previously, the report didn't display these warnings for customers with 'Intra-Community' fiscal positions or those located outside of Europe. This ensures accurate reporting and compliance.
Original PR description
The warnings partner_same_country and partner_no_ec_country on the EC Sales List are never showed. To Reproduce (for partner_same_country warning): - Create a company in Belgium - Create a customer in Belgium with "Intra-Community" as a Fiscal Position - Create an invoice with this customer - Go to the EC Sales List - The customer doesn't appear in it, so the warning is not present. For the partner_no_ec_country, do the same but with the country of the customer being one outside of Europe. Forward-Port-Of: odoo/enterprise#109583 Forward-Port-Of: odoo/enterprise#107139
This update corrects a display issue where 'Confirm' buttons were visible even when payslips had been generated. The system now correctly hides these buttons when there are existing payslips, ensuring a cleaner user interface. This improves clarity and prevents confusion for users.
Original PR description
The 'empty_payslips' field is an Integer, but the view was treating it as a pure Boolean. This commit: - Updates 'Confirm' buttons to be invisible when payslips exist (> 0). Task: 5916154 Forward-Port-Of: odoo/enterprise#109926 Forward-Port-Of: odoo/enterprise#106957
This update corrects a visual imbalance in the layout of Knowledge articles within the Odoo system. The change ensures consistent horizontal spacing, resulting in a more professional and balanced appearance for all articles. This improves the overall user experience and presentation of our knowledge base.
Original PR description
The Knowledge article layout shows a visual imbalance due to asymmetric horizontal spacing in the editor content. This change makes the horizontal spacing consistent on both sides, improving the overall visual balance while maintaining proper spacing and layout consistency. Task-5222643 Forward-Port-Of: odoo/enterprise#108437
This update fixes a potential issue where changes to knowledge articles (sharing, favorites, editing) weren't reliably applied. The update ensures the correct article is loaded before any modifications are made, enhancing the user experience and data consistency. This improves the reliability of the knowledge base.
Original PR description
With this commit, We ensure we're in the correct article before making any changes (share, add to favorites, edit) using `waitUntil`. We've added a `checkArticle` function to ensure the article is in the correct place in the menu. runbot-error-id~234645
This update optimizes how Odoo calculates planning fields for sales orders. Previously, all sales order lines were processed, even those not directly involved in planning. Now, calculations are focused only on sales order lines linked to products with planning enabled or those included in a planning slot, improving efficiency and accuracy.
Original PR description
Before this commit, the compute of planning_hours_to_plan and planning_hours_planned fields computes for all SOLs even the ones which are not related to planning. This commit makes sure the both computes calcules the planning field for the SOLs which are related to planning, that is: - SOL is linked to a product with planning_enabled set to True - or at least one planning slot has the SOL set. Issue detected during a fix of migration script of task-5258989 Forward-Port-Of: odoo/enterprise#109715
This update fixes a potential issue where changes to knowledge articles (sharing, favorites, editing) weren't reliably applied. The update ensures the correct article is loaded before any modifications are made, enhancing the user experience and data consistency. This improves the reliability of the knowledge base.
Original PR description
With this commit, We ensure we're in the correct article before making any changes (share, add to favorites, edit) using `waitUntil`. We've added a `checkArticle` function to ensure the article is in the correct place in the menu. runbot-error-id~234645
This update resolves a technical problem where Odoo was crashing when displaying images due to incorrect handling of binary data in templates. The fix ensures images are properly encoded as base64 strings before being used, preventing errors and improving image display reliability.
Original PR description
Templates embedding binary images using data URIs expected base64 strings and crash when receiving raw binary values (UnicodeDecodeError) during QWeb rendering. Encode the binary values explicitly using to_base64() before embedding them in the image source. See also: - https://github.com/odoo/odoo/pull/252710
This update fixes an issue where payrun status bubbles appeared as solid black in dark mode due to a hardcoded color setting. The change now uses a dynamic background color, ensuring the bubbles always match the current theme and display correctly regardless of the user's chosen mode.
Original PR description
The status bubbles in the payrun view were using the literal 'bg-white' class. In dark mode, it automatically inverts 'bg-white' to solid black. This commit changes the hardcoded 'bg-white' to the semantic 'bg-view' class. This ensures the bubble background always matches the current theme's view background variable. Task: 5959361
This update fixes an issue where icons were incorrectly displayed on small screens within the VoIP form. The change ensures that icons are only shown on desktop views, aligning with the overall form layout and improving the user experience. This ensures consistent visual presentation across different device sizes.
Original PR description
We only want these icons on desktop, as the content is not aligned with the rest of the form view. On small screens, each field is displayed one below the other, regardless of whether it is inside a header_group or not. So icons have been replaced by the label (which doesn't appear on desktop). task-6010516