Daily updates from Odoo
Thursday, February 13, 2025
8 changes · 18.0
Enhancements to existing features
Peppol registration now automatically chooses the correct role based on whether the company is already registered with another service provider. This reduces manual setup errors and helps ensure companies are registered in a way that complies with Peppol rules.
Original PR description
If the user is already registered on another SMP, we know we can only register him as a sender. If not, we have to register him as a receiver. A user can't be only a sender on Peppol. task-4394408
Payment processing can now let related modules choose which invoices should receive a notification. This helps avoid unnecessary or inappropriate invoice messages when certain invoices should be excluded.
Original PR description
Instead of directly notify the invoices link to the transaction in _log_message_on_linked_documents, the invoice return by _get_invoices_to_notify are notified. It allow other modules to exclude some invoice --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When an accounting document is reset to draft, files previously generated for sending or printing are now detached. This lets users edit the document and generate fresh, accurate files afterward, reducing the risk of outdated attachments being reused.
Original PR description
Resetting a move to draft should detach the current attachments generated by the send and print and allow regenerating them after the user is done with the edits. Task [link](https://www.odoo.com/odoo/project.task/4498564) task-4498564 Enterprise PR: https://github.com/odoo/enterprise/pull/78429
Bank records are now archived when users try to remove them, helping preserve historical information while keeping inactive banks out of normal views. Users also get clearer controls and filters to manage archived banks from the bank form and list screens.
Original PR description
This commit will do multiple thing: - Override the unlink to archive instead - Addings archived filter - Adding a button in the form view to archive it and reload - Adding the active field to the list view - Change some optional show and hide task-4507042 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The time off app now allows leave types marked as “Other” to bypass standard date validation. This supports more flexible configurations for worked-time or special leave categories that do not need the usual strict date checks.
Original PR description
Description of the issue/feature this PR addresses: This commit modifies the `_check_date` method in the `HrLeave` model to skip the date constraint check when the leave type is set to 'Other'. - Updated `_check_date` method to bypass the standard date validation if `leave_type_time_type` is 'other'. - This allows for more flexible date configurations for specific leave types. Current behavior before PR: The _check_date method always enforces date constraints, regardless of the leave type. This prevents the use of "leave" types that do not require strict date validation as they are worked time. Desired behavior after PR is merged: The _check_date method will skip date validation when the leave_type_time_type is set to 'other', allowing for more flexible leave configurations. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When an accounting document is reset to draft, files previously generated for sending or printing are now detached so they do not remain tied to an outdated version. This lets users edit the document and regenerate the correct files afterward, reducing the risk of sending stale attachments.
Original PR description
Resetting a move to draft should detach the current attachments generated by the send and print and allow regenerating them after the user is done with the edits. task-4498564 Community PR: https://github.com/odoo/odoo/pull/195626
French VAT reporting now generates the required 3519 declaration when a company requests a VAT reimbursement, ensuring the reimbursement filing is sent correctly through AspOne. The update also prevents an error when creating electronic VAT filings for periods with an empty closing entry.
Original PR description
The declaration 3519 is also needed when we ask for a reimbursement. We currently can't group them (as the fields definition don't allow it), so we will keep them separated. It is sent the same way to AspOne. task-4328721
The Belgian fleet payroll setup no longer overrides the vehicle fuel type default to diesel. This better reflects current Belgian company car usage, where electric vehicles are now the common choice, and reduces manual adjustments for users.
Original PR description
Since electric car is the most used new cars in belgium, we don't need to change the default to 'diesel' for belgium.