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
75ef7c10980d
Commit
75ef7c10980d
authored
10 months ago
by
aronabencherif.diatta@xcg.africa
Browse files
Options
Downloads
Patches
Plain Diff
Update following the addition of standard invoice template
parent
e9722140b5b8
No related branches found
Branches containing commit
No related tags found
1 merge request
!52
Update following the addition of standard invoice template
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS.rst
+2
-0
2 additions, 0 deletions
NEWS.rst
models/ir_actions_report.py
+5
-1
5 additions, 1 deletion
models/ir_actions_report.py
models/redner_template.py
+1
-1
1 addition, 1 deletion
models/redner_template.py
with
8 additions
and
2 deletions
NEWS.rst
+
2
−
0
View file @
75ef7c10
...
...
@@ -5,6 +5,8 @@
16.0.1.2.0
----------
Update following the addition of standard invoice template
Add the invoice template as standard.
Introduces sorting capabilities within the Redner substitution.
...
...
This diff is collapsed.
Click to expand it.
models/ir_actions_report.py
+
5
−
1
View file @
75ef7c10
...
...
@@ -260,7 +260,11 @@
# Get redner template already created by demo function
redner_template
=
self
.
env
[
"
redner.template
"
].
search
(
[
(
"
name
"
,
"
=
"
,
"
facture_avoir_v9.odt
"
),
(
"
name
"
,
"
=
"
,
self
.
env
.
ref
(
"
redner.redner_invoice_having_odt
"
).
name
,
),
(
"
language
"
,
"
=
"
,
...
...
This diff is collapsed.
Click to expand it.
models/redner_template.py
+
1
−
1
View file @
75ef7c10
...
...
@@ -288,7 +288,7 @@
config_model
.
get_param
(
"
redner.server_url
"
),
config_model
.
get_param
(
"
redner.account
"
),
]
if
False
in
redner_config_list
:
# Config parameters not completed
if
not
all
(
redner_config_list
)
:
# Config parameters not completed
logger
.
error
(
"
Redner template demo data: THE TEMPLATE CANNOT LOAD
"
"
IF THE REDNER PARAMETERS ARE NOT COMPLETELY CONFIGURED
"
...
...
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