Daily updates from Odoo
Monday, May 18, 2026
5 changes · master
Enhancements to existing features
This update simplifies the generation of 281.XX payroll reports by centralizing the process and improving the user interface. The changes consolidate report creation, standardize data formats, and enhance error handling, resulting in a more efficient and reliable payroll reporting system.
Original PR description
**Container, Mixin & Generation** * 281_xx is now the single entry point for all 281.xx reports. * Introduced a shared mixin (`l10n_be.281.mixin`) to centralize common logic (employee validation,…
**Container, Mixin & Generation** * 281_xx is now the single entry point for all 281.xx reports. * Introduced a shared mixin (`l10n_be.281.mixin`) to centralize common logic (employee validation, payslip filtering) and enforce a standard structure across all 281.xx forms. * Child reports (281.10, 281.45) are systematically created and linked to the container. * Forms are only generated for employees who require them (e.g., skipping 281.45 if the employee has no IP). * XML generation is centralized at the container level: subreports provide data, while the container defines header-level information. * Record names are adapted to include the year and a suffix sequence (e.g., `YEAR_281_suffix`). **UI & View Simplification** * Removed dedicated 281.10 and 281.45 form views, consolidating them into a unified container using tabs instead of smart buttons. * Updated list view to display the year as the first column, and expose reference, form types, sending type, treatment type, and state. * Introduced a shared employee declaration list view used across all 281 report types. **Sequence, Error Handling & Finalization** * The container holds the state (Draft, Error, Ready, Done). Draft state allows generating test XML; Ready state corresponds to final XML. * Validation errors from subreports are aggregated and set the container to an "Error" state, blocking the XML generation. * Confirmation wizard sets the final Belcotax reference, triggers the PDF generation, and sends the documents to the employees. Task: 5911065
This update introduces a new report required by the Slovak Financial Administration, enabling businesses to accurately file their VAT Control Statement (KVDPH). The report covers key sales and purchase data, automating calculations and ensuring compliance with Slovak tax regulations. It includes features like XML export and bad debt flagging for improved accuracy and efficiency.
Original PR description
*=l10n_eu_oss_reports This commit introduces the VAT Control Statement report (Kontrolný výkaz DPH) as required by the Slovak Financial Administration. The report covers all eight sections of the…
*=l10n_eu_oss_reports This commit introduces the VAT Control Statement report (Kontrolný výkaz DPH) as required by the Slovak Financial Administration. The report covers all eight sections of the KVDPH: - A.1: standard issued invoices to registered entities - A.2: domestic reverse-charge sales (§69) with commodity codes - B.1: reverse-charge purchases (EU acquisitions, triangular, imports) - B.2: standard domestic purchases with VAT deduction - B.3.1/B.3.2: simplified invoices (split by €3,000 threshold) - C.1/C.2: corrections to issued/received supplies (credit & debit notes) - D.1/D.2: e-KASA aggregates and other supplies (manual entry) Each section uses a custom SQL engine that handles grouping by move, partner, tax rate, and commodity tag depending on the section context. Sections A.2 and C.1 resolve product commodity codes (TK) and goods types (TD) from account tags defined in XML data. Also adds: - XML export following the KVDPH_2025 XSD schema - `l10n_sk_is_bad_debt` field on `account.move` for bad debt flagging - `l10n_sk_uom` selection on account.move.line for KVDPH unit of measure - product tag data for 54 commodity codes and 2 goods types - views to expose the new fields on invoices, journal items and products - Added dedicated return type and submission wizard with direct XML download Documentation: https://www.financnasprava.sk/sk/podnikatelia/dane/dan-z-pridanej-hodnoty/kontrolny-vykaz-dph Related: https://github.com/odoo/odoo/pull/241860 Related: https://github.com/odoo/upgrade/pull/9102 task-5213902
This update allows administrators to exclude specific employees from payruns directly within the payrun version list. When an employee's payslip is excluded from a payrun version, the payslip itself is also removed, providing greater control over payroll processing and ensuring accurate reporting.
Original PR description
This commits adds a button to the versions list in payruns to allow users to exclude employees from the payrun. If the employee has a payslip for that payrun, the payslip will also be excluded. Task-5955126
This update streamlines the calculation of prices on the website, particularly for subscription-based products. By directly using recurring plan prices when available, the system now computes prices faster and more accurately, leading to a better customer experience. The changes also incorporate updates from the Odoo community.
Original PR description
* website_sale_subscription: speed up prices computation when the plan is known When the cart already holds a recurring product (and therefore a recurring plan), it can be forwarded to the price computation logic to directly compute the right unit price (instead of the sales price). * Adapt to community changes
This update ensures compliance with UAE minimum wage laws for Emirati employees within the Odoo Enterprise HR payroll system. A warning is now displayed on payslips and the payroll dashboard if an employee's wage doesn't meet the minimum wage requirements or if their contract starts after January 1, 2026, promoting accurate payroll processing.
Original PR description
[IMP] l10n_ae_hr_payroll: minimum wage for Emirati employees Warning is added to the payslip of Emirati Employees when their wage does not satisfy minimum wage conditions and when their contract starts after 01/01/2026. task - 6110277