From f1ee2bdddf705111cc18eb4da2c6b12d72f4307f Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Tue, 9 Aug 2016 13:10:34 +0200
Subject: [PATCH] Remove deprecated field

---
 htdocs/install/mysql/migration/4.0.0-5.0.0.sql | 2 ++
 htdocs/install/mysql/tables/llx_entrepot.sql   | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/htdocs/install/mysql/migration/4.0.0-5.0.0.sql b/htdocs/install/mysql/migration/4.0.0-5.0.0.sql
index 81872e8d10d..f5f6a1cdf99 100644
--- a/htdocs/install/mysql/migration/4.0.0-5.0.0.sql
+++ b/htdocs/install/mysql/migration/4.0.0-5.0.0.sql
@@ -41,3 +41,5 @@ DROP TABLE llx_holiday_types;
 
 ALTER TABLE llx_notify ADD COLUMN type_target varchar(16) NULL;
 
+ALTER TABLE llx_entrepot DROP COLUMN valo_pmp;
+
diff --git a/htdocs/install/mysql/tables/llx_entrepot.sql b/htdocs/install/mysql/tables/llx_entrepot.sql
index 9e9bfc9c26f..a8898a7ec92 100644
--- a/htdocs/install/mysql/tables/llx_entrepot.sql
+++ b/htdocs/install/mysql/tables/llx_entrepot.sql
@@ -33,7 +33,6 @@ create table llx_entrepot
   fk_departement  integer,
   fk_pays         integer DEFAULT 0,
   statut          tinyint DEFAULT 1,			-- 1 open, 0 close
-  valo_pmp        float(12,4),					-- PMP value for this warehouse (deprecated. No sens for a warehouse)
   fk_user_author  integer,
   import_key	  varchar(14)
 )ENGINE=innodb;
-- 
GitLab