Merge pull request #21411 from defrance/patch-213
introduce barcode on warehouse place
This commit is contained in:
commit
1b5eb2de22
@ -51,7 +51,8 @@
|
|||||||
-- VPGSQL8.2 ALTER TABLE llx_c_payment_term ALTER COLUMN rowid SET DEFAULT nextval('llx_c_payment_term_rowid_seq');
|
-- VPGSQL8.2 ALTER TABLE llx_c_payment_term ALTER COLUMN rowid SET DEFAULT nextval('llx_c_payment_term_rowid_seq');
|
||||||
-- VPGSQL8.2 SELECT setval('llx_c_payment_term_rowid_seq', MAX(rowid)) FROM llx_c_payment_term;
|
-- VPGSQL8.2 SELECT setval('llx_c_payment_term_rowid_seq', MAX(rowid)) FROM llx_c_payment_term;
|
||||||
|
|
||||||
|
ALTER TABLE llx_entrepot ADD COLUMN barcode varchar(180) DEFAULT NULL;
|
||||||
|
ALTER TABLE llx_entrepot ADD COLUMN fk_barcode_type integer DEFAULT NULL;
|
||||||
|
|
||||||
ALTER TABLE llx_c_transport_mode ADD UNIQUE INDEX uk_c_transport_mode (code, entity);
|
ALTER TABLE llx_c_transport_mode ADD UNIQUE INDEX uk_c_transport_mode (code, entity);
|
||||||
|
|
||||||
|
|||||||
@ -35,6 +35,8 @@ create table llx_entrepot
|
|||||||
fk_pays integer DEFAULT 0,
|
fk_pays integer DEFAULT 0,
|
||||||
phone varchar(20), -- phone number
|
phone varchar(20), -- phone number
|
||||||
fax varchar(20), -- fax number
|
fax varchar(20), -- fax number
|
||||||
|
barcode varchar(180) DEFAULT NULL, -- barcode
|
||||||
|
fk_barcode_type integer DEFAULT NULL, -- barcode type
|
||||||
warehouse_usage integer DEFAULT 1, -- 1=internal, 2=external (virtual warehouse or stock out of company)
|
warehouse_usage integer DEFAULT 1, -- 1=internal, 2=external (virtual warehouse or stock out of company)
|
||||||
statut tinyint DEFAULT 1, -- 1 open, 0 close
|
statut tinyint DEFAULT 1, -- 1 open, 0 close
|
||||||
fk_user_author integer,
|
fk_user_author integer,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user