Daily updates from Odoo
Thursday, June 19, 2025
2 changes · master
Resolved issues and error corrections
This fix ensures SEPA Direct Debit payment setup is completed for companies that already existed before the module was installed. Businesses can now configure and use the provider reliably across all companies, avoiding unusable payment records caused by missing setup data.
Original PR description
Since https://github.com/odoo/odoo/commit/0d3228e10d04a01c87fbef1e0e78b37c462c9ea5, payment providers are automatically duplicated for newly created companies. However, if a provider module is…
Since https://github.com/odoo/odoo/commit/0d3228e10d04a01c87fbef1e0e78b37c462c9ea5, payment providers are automatically duplicated for newly created companies. However, if a provider module is installed after creating a new company it does not work. Steps to reproduce: - Create a new company without installing any payment provider. - Install `payment_sepa_direct_debit` module after the company is created. - You’ll notice that the `code` field is not set on the provider record copied to the new company, which makes the provider unusable. Issue: - Provider record is missing critical fields like `code` in newly created companies. - Without these fields, it’s impossible to configure or use the provider. Cause: - When the module is installed after company creation, the provider setup does not run for those companies, so the copied records are incomplete. Solution: - Add `post_init_hook` to copy the provider after installation. - This ensures all required fields like `code` are correctly set up in all companies. See Also: https://github.com/odoo/odoo/pull/213804 opw-4857980 affected version-master
The payroll system now shows the out-of-contract warning more accurately when reviewing payslips. This helps payroll teams avoid unnecessary confusion and better identify payslips that may need attention before processing.