Wednesday, September 23, 2026
4 changes · 18.0
Enhancements to existing features
Mexico payroll now applies a 30-day value to the Christmas bonus exemption salary rule parameter from January 1, 2025. This helps payroll calculations reflect the intended exemption basis for the new period.
Original PR description
Add the value of 30 days, from 1st January 2025 to Christmas Bonus Exemption salary rule parameter. task: 6572414
The Mexican payroll module now applies a 30-day value to the Christmas bonus exemption salary rule parameter starting January 1, 2025. This helps payroll calculations stay aligned with the required exemption setup for the new period.
Original PR description
Add the value of 30 days, from 1st January 2025 to Christmas Bonus Exemption salary rule parameter. task: 6572414
The Argentina reports module now creates sample vendor bills more efficiently during automated testing. This reduces test setup time and database work without changing report results, helping teams get faster validation feedback.
Original PR description
Same as the l10n_ar fixture: the 10 demo vendor bills were built through Form, rerunning the whole move onchange for every field of every line. Create them with _create_invoice from the fields the Form set. The accounting date is now the invoice date on every bill, the report output is unchanged. With the l10n_ar counterpart: | l10n_ar_reports, runbot 18.0 L10n | before (3 builds) | after | |------------------------------------|-------------------|-------| | TestArReports setUpClass | 78-103s | 31s | | module test time | 80-106s | 33s | | queries | 45.4k | 28.4k |
This change speeds up the creation of sample Argentina invoices used in report testing by avoiding a slower setup path. It reduces test preparation time and database work while keeping the report results unchanged.
Original PR description
The use_current_date=False branch of _create_test_invoices_like_demo built 18 invoices through Form, which reruns the whole move onchange for every field of every line. It was two thirds of the l10n_ar_reports class setup. Create them with _create_invoice from the fields the Form set, like the other branch does. The accounting date is now the invoice date on every invoice, the report output is unchanged. With the l10n_ar_reports counterpart: | l10n_ar_reports, runbot 18.0 L10n | before (3 builds) | after | |------------------------------------|-------------------|-------| | TestArReports setUpClass | 78-103s | 31s | | module test time | 80-106s | 33s | | queries | 45.4k | 28.4k |