Works on migration management positioning lines
rang is not implemented in project task for the moment
This commit is contained in:
parent
63908863cc
commit
7e70aaa2f0
@ -38,5 +38,6 @@ create table llx_projet_task
|
||||
fk_user_valid integer, -- user who validated the task
|
||||
fk_statut smallint DEFAULT 0 NOT NULL,
|
||||
note_private text,
|
||||
note_public text
|
||||
note_public text,
|
||||
rang integer DEFAULT 0
|
||||
)type=innodb;
|
||||
|
||||
@ -3079,7 +3079,7 @@ function migrate_element_rang($db,$langs,$conf)
|
||||
//llx_livraisondet
|
||||
$tables[] = array('name'=>'livraisondet','element'=>'delivery','fk_element'=>'fk_livraison');
|
||||
//llx_projet_task
|
||||
//$tables[] = array('name'=>'projet_task','element'=>'project','fk_element'=>'fk_projet');
|
||||
//$tables[] = array('name'=>'projet_task','element'=>'project_task','fk_element'=>'fk_projet');
|
||||
|
||||
foreach($tables as $table)
|
||||
{
|
||||
|
||||
@ -333,6 +333,9 @@ class Task extends CommonObject
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Delete rang of line
|
||||
//$this->delRangOfLine($this->id, $this->element);
|
||||
|
||||
$sql = "DELETE FROM ".MAIN_DB_PREFIX."projet_task";
|
||||
$sql.= " WHERE rowid=".$this->id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user