Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Redner Odoo Module
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
Redner Odoo Module
Commits
c49e9c2e2e6b
Commit
c49e9c2e2e6b
authored
1 month ago
by
Florent Aide
Browse files
Options
Downloads
Patches
Plain Diff
add typst language to redner odoo
parent
d78d402d15c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!83
add typst language to redner odoo
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
models/redner_template.py
+2
-0
2 additions, 0 deletions
models/redner_template.py
with
2 additions
and
0 deletions
models/redner_template.py
+
2
−
0
View file @
c49e9c2e
...
...
@@ -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
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment