Skip to content
Snippets Groups Projects
Commit c675052b authored by oury.balde's avatar oury.balde
Browse files

Implement caching and optimization for Redner template handling

- Added `ormcache` to improve performance by caching template retrieval
in `_get_cached_template`.
- Refactored template processing logic:
  - Introduced `_to_odoo_template` to centralize transformation
    of external templates into Odoo-compatible format.
  - Simplified template computation in `_compute_template` and
    `_compute_template_data` using cached templates.
- Removed redundant methods (`to_cache`) and consolidated logic for clarity.
parent 5ea5153a
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment