NEW Add width and height on product card

This commit is contained in:
Laurent Destailleur 2016-02-20 04:49:02 +01:00
parent d3960b0809
commit 351ce6228d
2 changed files with 10 additions and 0 deletions

View File

@ -36,6 +36,12 @@ ALTER TABLE llx_product_customer_price_log ADD COLUMN localtax2_type varchar(10)
ALTER TABLE llx_product ADD COLUMN model_pdf varchar(255) default '';
ALTER TABLE llx_product ADD COLUMN width float DEFAULT NULL;
ALTER TABLE llx_product ADD COLUMN width_units tinyint DEFAULT NULL;
ALTER TABLE llx_product ADD COLUMN height float DEFAULT NULL;
ALTER TABLE llx_product ADD COLUMN height_units tinyint DEFAULT NULL;
CREATE TABLE llx_categorie_user
(
fk_categorie integer NOT NULL,

View File

@ -69,6 +69,10 @@ create table llx_product
weight_units tinyint DEFAULT NULL,
length float DEFAULT NULL,
length_units tinyint DEFAULT NULL,
width float DEFAULT NULL,
width_units tinyint DEFAULT NULL,
height float DEFAULT NULL,
height_units tinyint DEFAULT NULL,
surface float DEFAULT NULL,
surface_units tinyint DEFAULT NULL,
volume float DEFAULT NULL,