Odoo documentation sources
Go to file
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
.tx [I18N] *: export 17.0 translations 2023-11-08 12:17:46 +00:00
content [IMP] payment: render /payment/status entirely from the server 2024-03-20 12:09:27 +00:00
extensions [FIX] odoo_theme: add bottom margin to inner lists 2024-02-14 11:03:48 +00:00
locale [I18N] *: export 15.0 translations 2024-03-09 16:03:48 +00:00
redirects [FIX] redirections: wrong rule for supported versions 2024-03-13 06:53:44 +00:00
static [FIX] accounting: cheat sheet reconcile 2023-12-13 14:39:19 +00:00
tests [IMP] tests: make review UX and resource files 2023-11-14 02:35:55 +00:00
.gitattributes [ADD] .gitattributes: include RST files in language statistic on GitHub 2022-04-29 11:01:52 +02:00
.gitignore [ADD] .gitattributes: include RST files in language statistic on GitHub 2022-04-29 11:01:52 +02:00
commit_template.txt [FIX] *: enforce 1 newline on files end 2022-11-18 18:04:49 +01:00
conf.py [FIX] conf: don't use None in language switcher 2024-03-18 17:31:17 +00:00
COPYRIGHT [ADD] Add LICENSE and COPYRIGHT 2023-09-13 04:37:09 +00:00
LICENSE [ADD] Add LICENSE and COPYRIGHT 2023-09-13 04:37:09 +00:00
Makefile [IMP] tests: make review UX and resource files 2023-11-14 02:35:55 +00:00
README.md [IMP] README: remove version from links and rephrase explanations 2023-01-03 20:14:55 +01:00
requirements.txt [FIX] requirements: fix sphinxcontrib versions 2024-01-16 19:28:39 +00:00

Odoo documentation

Build the documentation locally

Requirements

  • Git
  • Python 3.6, 3.7, or 3.8
  • Python dependencies listed in the file requirements.txt.
  • Make
  • A local copy of the odoo/odoo repository (optional)

Instructions

  1. In a terminal, navigate to the root directory of the documentation and build it make. Additional commands are available with make help.
  2. Open the file documentation/_build/html/index.html in your web browser.
  3. See this guide for more detailed instructions.

Optional: place your local copy of the odoo/odoo repository in the parent directory or in the root directory of the documentation to build the latter with the documented Python docstrings.

Contribute to the documentation

For contributions to the content of the documentation, please refer to the Introduction Guide.

To report a content issue, request new content or ask a question, use the repository's issue tracker.

Learn More

To learn more about Odoo, in addition to the documentation, have a look at the official eLearning and Scale-up, The Business Game.