Merge pull request #10603 from wdammak/patch-27

Add default warehouse id for a user
This commit is contained in:
Laurent Destailleur 2019-02-15 15:06:21 +01:00 committed by GitHub
commit 317f3dd90b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -160,3 +160,5 @@ INSERT INTO llx_c_units (code, scale, label, short_label, unit_type, active) VAL
INSERT INTO llx_c_units (code, scale, label, short_label, unit_type, active) VALUES ('H', '3600','hour','h', 'time', 1);
INSERT INTO llx_c_units (code, scale, label, short_label, unit_type, active) VALUES ('D','12960000','day','d', 'time', 1);
-- Default Warehouse id for a user
ALTER TABLE llx_user ADD COLUMN fk_warehouse INTEGER NULL;

View File

@ -99,5 +99,6 @@ create table llx_user
import_key varchar(14), -- import key
default_range integer,
default_c_exp_tax_cat integer
default_c_exp_tax_cat integer,
fk_warehouse integer
)ENGINE=innodb;