Tuesday, September 19, 2023
4 changes · master
Enhancements to existing features
This update modernizes how conditional visibility is handled in Website Event registration views. It keeps the module aligned with current Odoo standards and helps maintain compatibility without changing day-to-day user workflows.
Original PR description
since 17.0 attrs is no more used, replacing the existing usage with invisible attribute --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo now warns developers when the same field calculation is used for both saved and unsaved values, a pattern that can cause unexpected database updates. This helps make read-only operations safer and more predictable, with fixes applied in several affected business modules.
Original PR description
We explicitly discourage a compute method used for both stored and non-stored fields, because it may be unexpectedly update the database. Indeed, we don't expect the computation of a non-stored field to update the database. Allowing this kind of compute method makes reasoning about readonly code much more difficult, and would prevent readonly transactions with such fields.
For instance, consider a compute method for both fields F (non-stored) and G (stored), and assume that none of those fields are in cache. Whenever F is accessed, the compute method is invoked, and both fields are assigned, which potentially generates an SQL update for field G. This is problematic if we require the current transaction to be readonly.Customer references now appear in the customer portal for sales orders and quotations when they have been filled in. This makes it easier for customers to identify and match documents without needing to download or print them.
Original PR description
Purpose ======= The customer reference is a string that can be added to a SO (in Other info page). It is well visible when downloading or printing a SO but not in the overview in the Portal. Specification ============= Add the Customer Reference in Sales Order and Quotations if it has been filled. Task-3355199
The SEPA Direct Debit payment flow has been aligned with the updated payment status page. This helps customers see consistent payment status information after checkout or payment confirmation.
Original PR description
task-3125913 See also: - https://github.com/odoo/odoo/pull/119473