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
!84
Compatibility with changes in converter 17.0.2.0.0
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Compatibility with changes in converter 17.0.2.0.0
topic/17.0/converter2
into
branch/17.0
Overview
0
Commits
1
Pipelines
0
Changes
4
Merged
Vincent Hatakeyama
requested to merge
topic/17.0/converter2
into
branch/17.0
1 month ago
Overview
0
Commits
1
Pipelines
0
Changes
4
Expand
0
0
Merge request reports
Compare
branch/17.0
branch/17.0 (base)
and
latest version
latest version
d17ccdea
1 commit,
1 month ago
4 files
+
11
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
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
@@ -189,4 +189,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