From f86cb33964167bfb09cbf171b500c59bf2925e67 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 12 Jun 2006 23:15:55 +0000 Subject: [PATCH] =?UTF-8?q?Le=20param=E8tre=20PROPALE=5FVALIDITY=5FDURATIO?= =?UTF-8?q?N=20peut=20s'=E9diter=20depuis=20page=20config=20module=20propa?= =?UTF-8?q?le?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/langs/en_US/propal.lang | 3 ++- htdocs/langs/fr_FR/propal.lang | 1 + mysql/data/data.sql | 2 +- mysql/migration/2.0.0-2.1.0.sql | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/langs/en_US/propal.lang b/htdocs/langs/en_US/propal.lang index 4847badb9aa..ff14547f675 100644 --- a/htdocs/langs/en_US/propal.lang +++ b/htdocs/langs/en_US/propal.lang @@ -70,4 +70,5 @@ OtherPropals=Other proposals DateDelivery=Shipping date SetDateLivraison=Set shipping date CopyPropalFrom=Create commercial proposal by copying existing proposal -CreateEmptyPropal=Create empty commercial proposals vierge or from list of products/services \ No newline at end of file +CreateEmptyPropal=Create empty commercial proposals vierge or from list of products/services +DefaultProposalDurationValidity=Default commercial proposal validity duration (in days) \ No newline at end of file diff --git a/htdocs/langs/fr_FR/propal.lang b/htdocs/langs/fr_FR/propal.lang index 95e5f5cf480..78dd1c4cf35 100644 --- a/htdocs/langs/fr_FR/propal.lang +++ b/htdocs/langs/fr_FR/propal.lang @@ -71,3 +71,4 @@ DateDelivery=Date de livraison SetDateLivraison=Définir la date de livraison CopyPropalFrom=Créer proposition/devis par recopie d'un proposition existante CreateEmptyPropal=Créer proposition/devis vierge ou depuis liste de produits prédéfinis +DefaultProposalDurationValidity=Délai de validité par défaut (en jours) \ No newline at end of file diff --git a/mysql/data/data.sql b/mysql/data/data.sql index a069c67db07..fcbac6fdbd2 100644 --- a/mysql/data/data.sql +++ b/mysql/data/data.sql @@ -190,7 +190,7 @@ insert into llx_const (name, value, type, visible, note) VALUES ('MAIN_FORCE_SET -- -- Duree de validite des propales -- -insert into llx_const (name, value, type, visible, note) VALUES ('PROPALE_VALIDITY_DURATION', '15', 'chaine', 1, 'Durée de validitée des propales'); +insert into llx_const (name, value, type, visible, note) VALUES ('PROPALE_VALIDITY_DURATION', '15', 'chaine', 0, 'Durée de validitée des propales'); -- diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index 0f817645367..de986040a7d 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -296,4 +296,4 @@ alter table llx_societe_remise_except modify description varchar(255) NOT NULL; insert into llx_c_actioncomm (id, code, type, libelle) values ( 8, 'AC_COM', 'system', 'Envoi Commande'); update llx_actioncomm set fk_action = '8' where fk_action = '3' and label = 'Envoi commande par mail'; -insert into llx_const (name, value, type, visible, note) VALUES ('PROPALE_VALIDITY_DURATION', '15', 'chaine', 1, 'Durée de validitée des propales'); \ No newline at end of file +insert into llx_const (name, value, type, visible, note) VALUES ('PROPALE_VALIDITY_DURATION', '15', 'chaine', 0, 'Durée de validitée des propales'); \ No newline at end of file