Fix: [ bug #1517 ] Packages sizes

This commit is contained in:
Laurent Destailleur 2014-07-02 20:10:44 +02:00
parent ea310efba5
commit de527365a8
2 changed files with 15 additions and 6 deletions

View File

@ -18,6 +18,15 @@
-- -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup);
ALTER TABLE llx_expedition MODIFY COLUMN height float;
ALTER TABLE llx_expedition MODIFY COLUMN width float;
ALTER TABLE llx_expedition MODIFY COLUMN size float;
ALTER TABLE llx_expedition MODIFY COLUMN weight float;
ALTER TABLE llx_societe DROP COLUMN datea;
ALTER TABLE llx_holiday ADD COLUMN fk_user_create integer;
@ -1663,4 +1672,4 @@ INSERT INTO llx_accountingaccount (rowid, fk_pcg_version, pcg_type, pcg_subtype,
-- Fix: Missing instruction not correctly done into 3.5
-- VPGSQL8.2 ALTER TABLE llx_facture_fourn ALTER fk_mode_reglement DROP NOT NULL;
-- VPGSQL8.2 ALTER TABLE llx_facture_fourn ALTER fk_cond_reglement DROP NOT NULL;

View File

@ -41,13 +41,13 @@ create table llx_expedition
fk_shipping_method integer,
tracking_number varchar(50),
fk_statut smallint DEFAULT 0,
height integer, -- height
width integer, -- with
height float, -- height
width float, -- with
size_units integer, -- unit of all sizes (height, width, depth)
size integer, -- depth
size float, -- depth
weight_units integer, -- unit of weight
weight integer, -- weight
weight float, -- weight
note_private text,
note_public text,
model_pdf varchar(255)