dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1855] ODT Templates - conditional substitution


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1855] ODT Templates - conditional substitution failure
Date: Tue, 17 Feb 2015 18:27:40 +0100

Doliforge
Ce message ne s'affiche pas correctement?
mettez à jour vos préférences utilisateur.

ODT Templates - conditional substitution failure

État

 Détails
Submitted on:  17/02/2015 18:27 Last Modified On:  17/02/2015 18:27
Submitted by:  Manuel Pintor (m.pintor) 
Summary:  ODT Templates - conditional substitution failure
Description:  Conditional substitution as described in the Wiki (http://wiki.dolibarr.org/index.php/Create_an_ODT_document_template#Conditional_substitution) is not working.

For example, in a invoice template I placed in the header area :
[!-- IF {object_source_invoice_ref} --] Réf. devis : {object_source_invoice_ref} [!-- ENDIF --]

I expect the source invoice reference to be printed in case it exists, or nothing if not.

I see on the generated ODT while no source invoice reference exists :
[!-- IF --]
Réf. devis : [!-- ENDIF --]

I should see nothing, definitely not any code.

This has been described in french 8 month ago here : http://www.dolibarr.fr/forum/527-bugs-sur-la-version-stable-courante/50638-modeles-odt-plusieurs-problemes

A solution has also been proposed to devs in the same thread.
Step to reproduce bug:  
Detected in version:  3.6.2 Category:  Other
Severity:  5 - Major OS Type/Version:  
PHP version:   Database type and version:  
 Etat
Status:  Open Assigned to:  Aucun
Resolution:  Aucun 

Répondre



reply via email to

[Prev in Thread] Current Thread [Next in Thread]