Add field employee for hr module

This commit is contained in:
Laurent Destailleur 2015-10-22 19:43:50 +02:00
parent 531ef43a27
commit 1000fd1b21
2 changed files with 5 additions and 0 deletions

View File

@ -100,3 +100,7 @@ ALTER TABLE llx_ecm_files ADD UNIQUE INDEX uk_ecm_files (label, entity);
ALTER TABLE llx_product ADD COLUMN onportal tinyint DEFAULT 0 after tobuy;
ALTER TABLE llx_user ADD COLUMN employee tinyint DEFAULT 1;

View File

@ -74,6 +74,7 @@ create table llx_user
nb_holiday integer DEFAULT 0,
thm double(24,8),
tjm double(24,8),
employee tinyint DEFAULT 1, -- 1 if user is an employee
salary double(24,8),
salaryextra double(24,8),
weeklyhours double(16,8)