| '.$langs->trans("VATRate").' | ';
diff --git a/mysql/migration/2.1.0-2.2.0.sql b/mysql/migration/2.1.0-2.2.0.sql
index ef500ae0fee..a890f73564e 100644
--- a/mysql/migration/2.1.0-2.2.0.sql
+++ b/mysql/migration/2.1.0-2.2.0.sql
@@ -518,4 +518,6 @@ insert into `llx_menu_const` (`rowid`, `fk_menu`, `fk_constraint`, `user`) value
insert into `llx_menu_const` (`rowid`, `fk_menu`, `fk_constraint`, `user`) values (109, 5001, 6, 2);
ALTER TABLE llx_product ADD COLUMN volume float DEFAULT NULL after weight_units;
-ALTER TABLE llx_product ADD COLUMN volume_units tinyint DEFAULT NULL after volume;
\ No newline at end of file
+ALTER TABLE llx_product ADD COLUMN volume_units tinyint DEFAULT NULL after volume;
+
+ALTER TABLE llx_product modify ref varchar(32) NOT NULL;
\ No newline at end of file
diff --git a/mysql/tables/llx_product.sql b/mysql/tables/llx_product.sql
index 7a0c1b49811..870345fce14 100644
--- a/mysql/tables/llx_product.sql
+++ b/mysql/tables/llx_product.sql
@@ -25,7 +25,7 @@ create table llx_product
rowid integer AUTO_INCREMENT PRIMARY KEY,
datec datetime,
tms timestamp,
- ref varchar(16) NOT NULL,
+ ref varchar(32) NOT NULL,
label varchar(255) NOT NULL,
description text,
note text,
|