Saturday, September 27, 2025
2 changes · master
Enhancements to existing features
This change makes it easier for other Odoo modules to add extra information when calculating analytic distributions for accounting entries. It supports future customizations, such as basing distributions on employee data, without changing core accounting behavior.
Original PR description
**Description of the issue/feature this PR addresses:** Add an inherit point to let others modules specify others/new values when the analytic distribution is build on the analytic distribution model. **Functional example:** If you wan to determine your analytic distribution on the employee (so the `employee_id` field is added into `account.analytic.distribution.model`), the specific module can not edit the dict (who is extracted by this PR). So I propose to extract the `dict` creation into a dedicated method. **Current behavior before PR:** It's not possible to edit the `dict` **Desired behavior after PR is merged:** Update the `dict` (and let it as a `frozendict` to use it as a key). ✅ I don't find any duplicates PR --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#222661
Adds broader automated checks for Mexican payroll CFDI signing, covering more payroll scenarios such as bonuses, savings funds, and deductions. This helps reduce the risk of payroll documents being generated incorrectly and improves confidence in compliance-related payroll processing.
Original PR description
This adds a bunch of scenarios for the CFDI signing. Task: 5066078 Forward-Port-Of: odoo/enterprise#94436