Skip to content
Extraits de code Groupes Projets
Valider efda2b21 rédigé par Nicolas Quiniou-Briand's avatar Nicolas Quiniou-Briand Validation de Rémi
Parcourir les fichiers

add quotes to make conditions working

parent 2a3d95b7
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
{% if odoo_version == 12.0 or odoo_version == 11.0 %}
{% if odoo_version == '12.0' or odoo_version == '11.0' %}
#!/usr/bin/env python3
{% else %}
#!/usr/bin/env python
......@@ -23,7 +23,7 @@ if os.path.isfile(REPO_FILE):
call(["git", "clone", "-b", repos[repo]["branch"], "--depth", "1", repos[repo]["url"],
DEFAULT_PRIVATE_REPO+"/"+repo])
{% if odoo_version == 10.0 %}
{% if odoo_version == '10.0' %}
if os.path.isdir("/opt/odoo/private_addons/lf_theme"):
if not os.path.isfile("/opt/odoo/private_addons/lf_theme/static\
/src/less/lefilament_variable.less"):
......
{% if odoo_version == 12.0 or odoo_version == 11.0 %}
{% if odoo_version == '12.0' or odoo_version == '11.0' %}
#!/usr/bin/env python3
{% else %}
#!/usr/bin/env python
......@@ -9,7 +9,7 @@ import os
import pwd
import shutil
from subprocess import call
{% if odoo_version == 12.0 or odoo_version == 11.0 %}
{% if odoo_version == '12.0' or odoo_version == '11.0' %}
from urllib.parse import urlsplit
{% else %}
from urlparse import urlsplit
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter