forked from odoo/odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] base: render db manager w/ qweb and no db
Due to odoo#82724 and 8ec7739, the qweb renderer can't be used directly, however there is no way to use the proper ir.qweb one without a database. This is necessary for the /web/database/ routes (db manager) which work without a database, and require qweb rendering since the abandon of jinja rendering in v15. This patch builds on the preparation work of the qweb/ir_qweb merge in odoo#81024 which introduces a limited helper `render()` method in ir_qweb so that it can be used statically without a database. Fixes odoo#82835 closes odoo#82841 X-original-commit: 3014e92 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com> Signed-off-by: Olivier Dony <odo@odoo.com>
- Loading branch information
Showing
2 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters