Daily updates from Odoo
Tuesday, June 17, 2025
5 changes · saas-18.3
Resolved issues and error corrections
The AI writing assistant is now only shown to internal users when editing content. This prevents portal users from seeing an option they cannot use and avoids related access errors in server logs.
Original PR description
Steps to reproduce the issue: - Allow a portal user, e.g. Joel (login portal) in runbot, to edit a knowledge article. - When the portal user logs in and tries to modify the article, the AI button and the ChatGPT command are available to him. The UI does nothing when the command is triggered. - But there is Access error in the server log. Solution: Only show the chatgpt command to internal users. TASK-ID: 4853088
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
The Register Production quality check now immediately displays the generated lot or serial number after quick registration. This removes a confusing intermediate quantity display and makes it easier for manufacturing users to confirm the correct item was registered.
Original PR description
Before this commit: ------------------- In the QC (Quality Check) step "Register Production", the lot/serial name was not shown immediately after registration. Instead, the qty producing/demand ratio was displayed first, followed by the lot/serial name. Steps to reproduce: ------------------- 1. Create a MO for a lot/serial tracked product with a Register Production step(QC). 2. Go to the workorder and open the Register Production step. 3. Click the Quick Registration (+) button to generate a lot/serial. 4. The step first shows the qty producing/demand ratio, then the lot/serial name. In this commit: --------------- The step now directly shows the generated lot/serial name, as the registered quantity is already available in the workorder card header. task-4824899
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**