Modification pour grer les taches et les actions sur le meme principe.

This commit is contained in:
Laurent Destailleur 2006-10-30 22:35:37 +00:00
parent 75a5ce6610
commit 83908de2e5
2 changed files with 6 additions and 4 deletions

View File

@ -101,10 +101,11 @@ alter table llx_actioncomm add column datep2 datetime after datep;
alter table llx_actioncomm add column datea2 datetime after datea;
alter table llx_actioncomm add column tms timestamp after datea2;
alter table llx_actioncomm add column fk_commande integer after propalrowid;
alter table llx_actioncomm add column fk_parent integer NOT NULL default 0 after fk_contact;
alter table llx_actioncomm add column durationp real after percent;
alter table llx_actioncomm add column durationa real after durationp;
alter table llx_actioncomm add column fk_projet integer after label;
alter table llx_actioncomm add column fk_parent integer NOT NULL default 0 after fk_contact;
alter table llx_actioncomm add column durationp real after percent;
alter table llx_actioncomm add column durationa real after durationp;
alter table llx_actioncomm add column fk_projet integer after label;
alter table llx_actioncomm add column punctual smallint NOT NULL default 1 after priority;
update llx_actioncomm set datec = datea where datec is null;

View File

@ -43,6 +43,7 @@ create table llx_actioncomm
fk_user_action integer, -- id de la personne qui doit effectuer l'action
fk_user_author integer, -- id de la personne qui a effectuer l'action
priority smallint,
punctual smallint NOT NULL default 1,
percent smallint NOT NULL default 0,
durationp real, -- duree planifiee
durationa real, -- duree reellement passee