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
Merge requests
!82
Compatibility with changes in converter 18.0.4.0.0
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Compatibility with changes in converter 18.0.4.0.0
topic/18.0/converter4
into
branch/18.0
Overview
0
Commits
2
Pipelines
0
Changes
6
Merged
Vincent Hatakeyama
requested to merge
topic/18.0/converter4
into
branch/18.0
1 month ago
Overview
0
Commits
2
Pipelines
0
Changes
6
Expand
Changes in
converter!59 (merged)
0
0
Merge request reports
Compare
branch/18.0
version 1
a1a7bf16
1 month ago
branch/18.0 (base)
and
version 1
latest version
45782562
2 commits,
1 month ago
version 1
a1a7bf16
1 commit,
1 month ago
6 files
+
13
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
models/redner_substitution.py
+
3
−
3
Options
##############################################################################
#
# Redner Odoo module
# Copyright © 2016 XCG Consulting <https://xcg-consulting.fr>
# Copyright © 2016
, 2025
XCG Consulting <https://xcg-consulting.fr>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@@ -19,7 +19,7 @@
##############################################################################
from
odoo
import
_
,
api
,
fields
,
models
# type: ignore[import-untyped]
from
odoo.addons
import
converter
# type: ignore[import-untyped]
from
odoo.addons
import
converter
from
odoo.exceptions
import
ValidationError
# type: ignore[import-untyped]
from
..converter
import
ImageDataURL
,
ImageFile
@@ -186,4 +186,4 @@
raise
ValidationError
(
_
(
"
invalid converter type: %s
"
)
%
sub
.
converter
)
d
[
sub
.
keyword
.
rsplit
(
"
.
"
,
2
)[
-
1
]]
=
conv
return
converter
.
Model
(
""
,
d
)
return
converter
.
Model
(
d
)
Loading