Commit bc4a51cd by Arnaud B Committed by Alexis Aoun

Utilisation d'une variable pour afficher / masquer la colonne Autres

parent bce3827b
......@@ -77,7 +77,7 @@ def produits(request, id):
""" Gets Order details """
context = {'title': 'Réception des produits',
"TOOLS_SERVER": settings.TOOLS_SERVER,
"DISPLAY_AUTRES": "false" if (settings.COMPANY_NAME == "La Cagette") else "true",
"DISPLAY_AUTRES": getattr(settings, 'DISPLAY_COL_AUTRES', True),
}
fixed_barcode_prefix = '0490'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment