Installation
Before you start
Section titled “Before you start”- The base module Omni Report (
omni_report) must already be installed. Server-Side Rendering is an add-on to Omni Report and will not work without it. - Server-side rendering runs a WebAssembly engine on the server. This requires the wasmtime runtime, version 45.0.0 or newer.
Odoo.sh
Section titled “Odoo.sh”-
Open your project’s Settings > Technical > Odoo.sh (or edit your repository directly).
-
Add the following line to your
requirements.txt:wasmtime>=45.0.0 -
Commit and push. Odoo.sh rebuilds the environment and installs the dependency automatically.
Self-hosted (on-premise)
Section titled “Self-hosted (on-premise)”Install the runtime with pip, then restart Odoo:
python3 -m pip install "wasmtime>=45.0.0"# restart your Odoo service, for example:sudo systemctl restart odooVerify the version after installation:
python3 -m pip show wasmtimeOdoo Online (Odoo S.A. cloud)
Section titled “Odoo Online (Odoo S.A. cloud)”Server-Side Rendering is not supported on Odoo Online. The Odoo S.A. cloud does not allow installing custom Python packages such as wasmtime. Use Odoo.sh or a self-hosted deployment if you need server-side rendering.
Runtime version check
Section titled “Runtime version check”The module performs a runtime version check when it loads. If the installed wasmtime version is older than the required minimum, the module logs a clear error and falls back to client-side rendering for the affected features, so your instance keeps working. Upgrade wasmtime to the required version to enable server-side rendering.