From 5bb97c3fcb18db9750d5362ba99417ddd59f5b47 Mon Sep 17 00:00:00 2001 From: "Louis (loti)" Date: Mon, 18 Mar 2024 16:53:01 +0100 Subject: [PATCH] [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) --- .../reference/standard_modules/payment/payment_transaction.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/content/developer/reference/standard_modules/payment/payment_transaction.rst b/content/developer/reference/standard_modules/payment/payment_transaction.rst index 1be8939af..f11c11f56 100644 --- a/content/developer/reference/standard_modules/payment/payment_transaction.rst +++ b/content/developer/reference/standard_modules/payment/payment_transaction.rst @@ -8,7 +8,6 @@ Payment Transaction .. automethod:: _compute_reference .. automethod:: _compute_reference_prefix - .. automethod:: _get_post_processing_values .. automethod:: _get_specific_create_values .. automethod:: _get_specific_processing_values .. automethod:: _get_specific_rendering_values