Skip to content
Snippets Groups Projects
Commit 75ef7c10980d authored by aronabencherif.diatta@xcg.africa's avatar aronabencherif.diatta@xcg.africa
Browse files

Update following the addition of standard invoice template

parent e9722140b5b8
No related branches found
No related tags found
1 merge request!52Update following the addition of standard invoice template
......@@ -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.
......
......@@ -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",
"=",
......
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment