Tuesday, June 17, 2025
3 changes · saas-18.3
Resolved issues and error corrections
Tax reports are now generated after users download the taxes required for a fiscal position. This ensures the needed tax return reports are created at the right time, avoiding missing reports during fiscal position setup.
Original PR description
When we create a fiscal position, we are checking if the user has the taxes for that country create and display a button to have the user download them. Previously, we were trying to create the tax reports for that fiscal position when creating it, however since the l10n_report is loaded with the taxes, the creation of the tax return wouldn't be triggered. Now, we are creating the tax returns after the user has downloaded the taxes needed for that fiscal position. task-4840412
Offer contracts are once again automatically unarchived as soon as the applicant signs, avoiding unnecessary changes to existing HR signing workflows. Existing partially signed offer contracts are also restored so recruitment and payroll teams can continue processing them normally.
Original PR description
This commit reverts the changes made in the following PR: https://github.com/odoo/enterprise/pull/80136. This change implied heavy changes in processes, which are unnecessary. The behavior is reverted to unarchive offer contracts upon applicant signature. task-4805608 Related revert PR: https://github.com/odoo/enterprise/pull/80136
Fixes a crash that could occur when users set an account on a bank transaction whose related journal entry labels had been removed. This keeps bank statement reconciliation workflows running smoothly even when transaction references are blank.
Original PR description
The system will crash when we remove the label from the journal entries related to the bank statement and then try to `Set the account` for that statement. **Steps to Reproduce:** 1. Install the…
The system will crash when we remove the label from the journal entries related to the bank statement and then try to `Set the account` for that statement.
**Steps to Reproduce:**
1. Install the `Accounting` module.
2. Navigate to `Bank` and set up the `Odoo demo bank` account.
3. Go to `Transactions`, click on `Set Account` for `Monthly Office Rent` and select `Cash Discount Loss` as the account.
4. Navigate to `Accounting > Accounting > Journal Entries.`
5. For the entries `BNK1/2025/00003` and `BNK1/2025/00005`, change their status to `draft` and remove the `labels` for the entries.
6. Return to `Transactions` and click `Set Account` for `Annual Public Liability Insurance`(Which is not not visible) then set the account to `Cash Discount Loss.`
**Error:-**
`IndexError: list index out of range`
**Solution:-**
- This commit added after domain `('payment_ref', '!=', False)` while computing
`previous_statement_lines`.
Same issue on **opw-4863729** and **opw-4846098**
**Sentry - 6675031651**