# HG changeset patch
# User Florent Aide <florent.aide@gmail.com>
# Date 1740071494 -3600
#      Thu Feb 20 18:11:34 2025 +0100
# Branch 18.0
# Node ID c49e9c2e2e6bd494ff79cbcc5652332c42c8d431
# Parent  d78d402d15c44873d6ae255e92fb05fce5ffccdf
add typst language to redner odoo

diff --git a/models/redner_template.py b/models/redner_template.py
--- a/models/redner_template.py
+++ b/models/redner_template.py
@@ -33,6 +33,7 @@
 _redner = None
 
 LANGUAGE_MJML_MUSTACHE = "text/mjml|mustache"
+LANGUAGE_TYPST_MUSTACHE = "application/typst|mustache"
 LANGUAGE_OPENDOCUMENT_MUSTACHE = "application/vnd.oasis.opendocument.text|od+mustache"
 DEFAULT_LANGUAGE = LANGUAGE_MJML_MUSTACHE
 COMPUTED_FIELDS = [
@@ -141,6 +142,7 @@
         selection=[
             ("text/html|mustache", "HTML + mustache"),
             (LANGUAGE_MJML_MUSTACHE, "MJML + mustache"),
+            (LANGUAGE_TYPST_MUSTACHE, "Typst + mustache"),
             (
                 LANGUAGE_OPENDOCUMENT_MUSTACHE,
                 "OpenDocument + mustache",