From 8f04e216db83a064d9c5b71898a55e8bdde9ffee Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 6 Sep 2010 22:17:16 +0000 Subject: [PATCH] Fix: regression --- htdocs/install/mysql/tables/llx_commandedet.sql | 1 + htdocs/install/mysql/tables/llx_expeditiondet.sql | 3 ++- htdocs/install/mysql/tables/llx_facturedet.sql | 1 + htdocs/install/mysql/tables/llx_livraisondet.sql | 3 ++- htdocs/install/mysql/tables/llx_propaldet.sql | 3 ++- 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/htdocs/install/mysql/tables/llx_commandedet.sql b/htdocs/install/mysql/tables/llx_commandedet.sql index 53236fc17e9..9b177a7f9a3 100644 --- a/htdocs/install/mysql/tables/llx_commandedet.sql +++ b/htdocs/install/mysql/tables/llx_commandedet.sql @@ -47,6 +47,7 @@ create table llx_commandedet marge_tx double(6,3) DEFAULT 0, -- taux de marge (marge sur prix d'achat) marque_tx double(6,3) DEFAULT 0, -- taux de marque (marge sur prix de vente) special_code integer UNSIGNED DEFAULT 0, -- code pour les lignes speciales + rang integer DEFAULT 0, import_key varchar(14) )type=innodb; diff --git a/htdocs/install/mysql/tables/llx_expeditiondet.sql b/htdocs/install/mysql/tables/llx_expeditiondet.sql index 63a490a0ae5..6bd6e54a437 100644 --- a/htdocs/install/mysql/tables/llx_expeditiondet.sql +++ b/htdocs/install/mysql/tables/llx_expeditiondet.sql @@ -25,5 +25,6 @@ create table llx_expeditiondet fk_expedition integer NOT NULL, fk_origin_line integer, -- Correspondance de la ligne avec le document d'origine (propal, commande) fk_entrepot integer, -- Entrepot de depart du produit - qty real -- Quantity + qty real, -- Quantity + rang integer DEFAULT 0 )type=innodb; diff --git a/htdocs/install/mysql/tables/llx_facturedet.sql b/htdocs/install/mysql/tables/llx_facturedet.sql index 8621b4a0507..075f8e842b9 100644 --- a/htdocs/install/mysql/tables/llx_facturedet.sql +++ b/htdocs/install/mysql/tables/llx_facturedet.sql @@ -49,6 +49,7 @@ create table llx_facturedet fk_code_ventilation integer DEFAULT 0 NOT NULL, fk_export_compta integer DEFAULT 0 NOT NULL, special_code integer UNSIGNED DEFAULT 0, -- code pour les lignes speciales + rang integer DEFAULT 0, -- ordre d'affichage import_key varchar(14) )type=innodb; diff --git a/htdocs/install/mysql/tables/llx_livraisondet.sql b/htdocs/install/mysql/tables/llx_livraisondet.sql index 2cc5a6d73a6..e720eb12bb6 100644 --- a/htdocs/install/mysql/tables/llx_livraisondet.sql +++ b/htdocs/install/mysql/tables/llx_livraisondet.sql @@ -28,5 +28,6 @@ create table llx_livraisondet description text, qty real, -- quantity subprice double(24,8) DEFAULT 0, -- prix unitaire - total_ht double(24,8) DEFAULT 0 -- Total HT de la ligne toute quantite + total_ht double(24,8) DEFAULT 0, -- Total HT de la ligne toute quantite + rang integer DEFAULT 0 )type=innodb; diff --git a/htdocs/install/mysql/tables/llx_propaldet.sql b/htdocs/install/mysql/tables/llx_propaldet.sql index 9e8e7958dff..5e994490e16 100644 --- a/htdocs/install/mysql/tables/llx_propaldet.sql +++ b/htdocs/install/mysql/tables/llx_propaldet.sql @@ -48,7 +48,8 @@ create table llx_propaldet marge_tx double(6,3) DEFAULT 0, -- taux de marge (marge sur prix d'achat) marque_tx double(6,3) DEFAULT 0, -- taux de marque (marge sur prix de vente) - special_code integer UNSIGNED DEFAULT 0 -- code pour les lignes speciales + special_code integer UNSIGNED DEFAULT 0, -- code pour les lignes speciales + rang integer DEFAULT 0 -- ordre affichage sur la propal )type=innodb; --