Daily updates from Odoo
Friday, June 20, 2025
2 changes · saas-18.3
Resolved issues and error corrections
The bank statement screen no longer shows an empty reconciliation button when no reconciliation models are available. This prevents users from clicking a broken option and makes the interface clearer.
Original PR description
Before this PR: An empty reconciliation button was displayed on the bank statement line when no reconciliation model existed, causing an error upon clicking. After this PR: That empty button is no longer shown if there are no applicable reconciliation models, avoiding the error and improving UI clarity. task-4876367
The Accounting app now hides a bank reconciliation button when its related model has been deleted. This prevents users from seeing an unlabeled button and avoids an error when reviewing bank transactions.
Original PR description
This error occurs because the model ID was deleted, but the button still references it. As a result, the button is displayed without a label, and clicking it leads to an error. Steps to reproduce: --- - Install the `Accounting` module - Accounting > Bank > Models (under Reconciliation) and delete all reconciliation models. - Go to Bank Transactions > Dropdown any statement line > click on button (without label) Traceback: --- `ValueError: Expected singleton: account.reconcile.model()` This commit resolves the issue by hiding the button when `model.id/label` is null. sentry-6674669584