Daily updates from Odoo
Wednesday, July 2, 2025
3 changes · master
Enhancements to existing features
Bank statement reconciliation now avoids matching entries that include cash or credit card account lines when that would create invalid statement entries. This helps prevent reconciliation errors caused by multiple cash or bank accounts appearing on the same statement move.
Original PR description
In this commit: https://github.com/odoo/enterprise/commit/c0f8c5d17b9d78b640d744d8bfb6a2bb4002776a We changed a condition to have the possibility to match move with an account that allows the reconciliation but by doing so, we authorize moves with a cash line to be match. This will trigger a constraint since we cannot have multiple cash or bank accounts on the same statement move. To avoid that we add a condition that the type of the account can be reconcile but is not an asset_cash or liability_credit_card no task id Forward-Port-Of: odoo/enterprise#88659
Payroll pay runs can now generate payslips from selected employees as well as payroll versions, making the process easier when contract details are not selected directly. This improves payroll workflow flexibility while preserving automatic selection of valid contracts for the pay run period.
Original PR description
Problem ---------- Generation of payslip with valid_versions is not enough flexible With work entries, we have to generate payslips for employees. Objective ---------- Change the _get_valid_versions_domain to _get_valid_versions to get only ids Adapt the signature of generate_payslips to use employees or versions to generate payslips Solution ---------- Now the _get_valid_versions give the valid versions ids, so we can directly browse them or add them in a domain, the domain is not forced The generate_payslips can work with versions (first argument by default) and employees, if employee_ids are given, this will fetch valid versions for these employee depending on the pay run config directly. So via the front, we can call generate_payslips with a list of employees if we don't have versions directly. (it will automatically select all contracts valid in the range of payrun as before with contracts) task-4900019 Forward-Port-Of: odoo/enterprise#88768
Egypt and Saudi Arabia payroll setups now include default working calendars that better match local standard schedules. Demo companies, employee contracts, and payroll structures are aligned with these calendars, improving payroll configuration accuracy for those countries.
Original PR description
*: sa,eg - add a new calendar that match the std working schedule for those countries and assign it to thier demo comapny, employees contracts and payroll structure Task: 4724754