documentation/content/developer
Louis (loti) 5bb97c3fcb [IMP] payment: render /payment/status entirely from the server
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

closes odoo/documentation#8198

Related: odoo/upgrade#5829
Related: odoo/odoo#149821
Related: odoo/enterprise#58822
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-03-20 12:09:27 +00:00
..
howtos [IMP] web: create how-to for using Owl components in the frontend 2024-03-15 15:59:20 +00:00
reference [IMP] payment: render /payment/status entirely from the server 2024-03-20 12:09:27 +00:00
tutorials [FIX] tutorials/discover_js_framework: clarify instructions 2024-03-19 01:31:02 +00:00
glossary.rst [REF][MOV] documentation apocalypse 2021-05-04 15:44:00 +02:00
howtos.rst [IMP] web: create how-to for using Owl components in the frontend 2024-03-15 15:59:20 +00:00
reference.rst [ADD] Upgrade documentation: Upgrade scripts and Util package 2024-01-26 09:56:30 +00:00
tutorials.rst [IMP] developer/tutorials: separate js framework tutorial in two parts 2023-04-25 11:22:48 +02:00