Daily updates from Odoo
Wednesday, March 20, 2024
3 changes · master
Enhancements to existing features
The payment status page is now generated entirely by the server instead of combining server and browser-rendered sections. This makes the checkout and subscription payment experience more reliable by reducing context mismatches and simplifying how status updates are displayed.
Original PR description
Previously, /payment/status would render a template on the server-side, and a JS widget would render subtemplates on the client-side and insert them in the server-side rendered template.
However, mixing server-side and client-side templates causes issues because the context is not properly communicated between client and server. It also makes the code more complex.
This change assumes that no new information returned by /payment/status is worth re-rendering part of the template. If the transaction moves from a pending ('draft', 'pending') state to a final state, the customer should be redirected to the final route that will display the updated information on the transaction.
task-3340354
Community PR: https://github.com/odoo/odoo/pull/149821
Documentation PR: https://github.com/odoo/documentation/pull/8198
Upgrade PR: https://github.com/odoo/upgrade/pull/5829Subscription log handling has been cleaned up to make reporting more dependable across changes such as currency updates, cancellations, reopenings, closures, and renewals. This helps businesses get more consistent subscription history and metrics when customer contracts change over time.
The Helpdesk search results page has been updated to match the newer design used across other areas. Users now have clearer navigation back to the Helpdesk home page, including when no results are found, and page editing areas have been repositioned for easier use.
Original PR description
This commit adapts the design and the structure of the search results page that was not in line with the new design implemented in all the other modules. It also improves the search results page in a…
This commit adapts the design and the structure of the search results page that was not in line with the new design implemented in all the other modules. It also improves the search results page in a functional POV by: - Adding a way to go back to helpdesk home when there is no results - Adding a back button always visible to go back to helpdesk home - Moving the dropable zone to a more convenient area (on top of the page instead of in the middle of the content) - Adding `title` attributes where it was needed | State | Before | After | |--------|--------|--------| | Results | <img width="1710" alt="Screenshot 2024-01-31 at 16 19 28" src="https://github.com/odoo/enterprise/assets/110090660/13e2a88b-93ad-43da-a8a6-582195dcc869"> | <img width="1710" alt="Screenshot 2024-01-31 at 16 19 07" src="https://github.com/odoo/enterprise/assets/110090660/dd3cd2cf-e353-4179-806c-4a5338c780f9"> | | Empty | <img width="1725" alt="Screenshot 2024-01-31 at 16 19 57" src="https://github.com/odoo/enterprise/assets/110090660/f759d76d-f248-419c-bc0e-8fcafab2fe02"> | <img width="1712" alt="Screenshot 2024-01-31 at 16 19 45" src="https://github.com/odoo/enterprise/assets/110090660/dd86ed2d-3ba5-4210-9989-ba84b65c8fa6"> | task-3668073