Monday, October 10, 2022
3 changes · master
Enhancements to existing features
Invoices now show bank statement information when a manually registered payment has been reconciled through a posted bank statement. This helps users open the right bank reconciliation view directly instead of being sent to the payment record, making follow-up and review clearer.
Original PR description
When a payment is registered manually and reconciled with a bank statement, the payment widget on the invoice still displays payment data. Clicking the "View" button also redirects to the `account.payment` form. Once a bank statement is posted, it is preferred to show the bank statement information and redirect to a bank reconciliation widget view, filtered by the bank statement line reconciled with the payment. In a very unlikely case that a payment is reconciled with more than one bank statement line, we display the last statement's data and filter the reconciliation widget by the last statement line posted. task-2928299 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Companies can now be archived when they are no longer in use, such as after closing a subsidiary, without needing to delete historical business records. This keeps past invoices, payments, and related data intact while removing inactive companies from everyday use.
Original PR description
It is technically nearly impossible to delete a company when it actually dealed with customers (emitted invoices, received payments, ...). Hence, if you want to get rid of a company, for instance because you closed one of your subsidiaries, giving the possibility to archive your company, thanks to an active field, would be the best way to go. We are hesitating to do a related field to the `partner_id.active`, but we are a bit afraid some people archive the partner linked to their company for other valid reasons than get rid of their subsidiary (such as avoid changing the address of their company by mistake through the Contacts app), while still wanting the company itself to be active. So, we make it an independant column at the moment, so we have the actual stored column in case we need it, and will do a related stored to the partner later on if we change our mind. *edit*: manual forward-port of https://github.com/odoo/odoo/pull/102801
The spreadsheet component was updated to make common actions smoother and more reliable. Users can now adjust filters in read-only mode where allowed, clear cell contents with Backspace, and benefit from an internal safeguard that prevents duplicate data access names.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/1af8ad34 [IMP] filters: allow to update a filter in readonly mode https://github.com/odoo/o-spreadsheet/commit/706cc8ee [FIX] model: ensure that two getters cannot have the same name https://github.com/odoo/o-spreadsheet/commit/96067749 [IMP] grid: allow to remove content of a cell with backspace