Saturday, August 23, 2025
2 changes · saas-18.3
Resolved issues and error corrections
This update keeps Odoo compatible with newer Python document-processing libraries while still supporting older versions. It prevents unnecessary warning messages during module information handling, reducing maintenance noise without changing user-facing behavior.
Original PR description
Odoo 17.0 supports Python ≥3.11, which installs docutils==0.20.1. This version deprecates `Node.traverse()` in favor of `Node.findall()`. To avoid deprecation warnings and ensure compatibility with both docutils 0.17 and 0.20.1, this patch uses `findall()` if available and falls back to `traverse()` otherwise. This change is backward-compatible and safe to cherry-pick to >= 18.0. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#222000
Payroll advice reports for India now use the selected payslip dates instead of the current date to determine the payroll period. This prevents incorrect or missing period information when generating advice for past payroll runs.
Original PR description
Generating a payroll advice would use the current date in order to find other payslips that are for the current period and use this to fill in the period on the advice. However, if you do this for a past payslip, it will either not find any or get the incorrect period. Changed the behavior to use the actual payslips and get the period from those payslips to fill in the period on the report. opw-4582990 Forward-Port-Of: odoo/enterprise#92806 Forward-Port-Of: odoo/enterprise#81625