From 6f0930721a3bd87eac989ef0683dfd578a14daea Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 19 Dec 2006 12:15:11 +0000 Subject: [PATCH] =?UTF-8?q?D=E9but=20ajout=20gestion=20du=20HT=20et=20TTC?= =?UTF-8?q?=20avec=20l'option=20multiprix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/migration/2.0.0-2.1.0.sql | 4 ++-- mysql/tables/llx_product_price.sql | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index 06d60f768e6..353510877e0 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -616,5 +616,5 @@ create table llx_product_subproduct UNIQUE(fk_product, fk_product_subproduct) )type=innodb; -alter table llx_product_price add column price_base_type varchar(3) DEFAULT 'HT' after price; -alter table llx_product_price add column price_ttc float(12,4) DEFAULT 0 after price; \ No newline at end of file +alter table llx_product_price add column price_ttc float(12,4) DEFAULT 0 after price; +alter table llx_product_price add column price_base_type varchar(3) DEFAULT 'HT' after price_ttc; \ No newline at end of file diff --git a/mysql/tables/llx_product_price.sql b/mysql/tables/llx_product_price.sql index 03e2737fb40..88d81319cb2 100644 --- a/mysql/tables/llx_product_price.sql +++ b/mysql/tables/llx_product_price.sql @@ -28,6 +28,7 @@ create table llx_product_price date_price datetime NOT NULL, price_level tinyint(4) NULL DEFAULT 1, price double, + price_ttc float(12,4) DEFAULT 0, price_base_type varchar(3) DEFAULT 'HT', tva_tx double NOT NULL, fk_user_author integer,