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_user_valid integer, -- user who validated the task
|
||||||
fk_statut smallint DEFAULT 0 NOT NULL,
|
fk_statut smallint DEFAULT 0 NOT NULL,
|
||||||
note_private text,
|
note_private text,
|
||||||
note_public text
|
note_public text,
|
||||||
|
rang integer DEFAULT 0
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|||||||
@ -3079,7 +3079,7 @@ function migrate_element_rang($db,$langs,$conf)
|
|||||||
//llx_livraisondet
|
//llx_livraisondet
|
||||||
$tables[] = array('name'=>'livraisondet','element'=>'delivery','fk_element'=>'fk_livraison');
|
$tables[] = array('name'=>'livraisondet','element'=>'delivery','fk_element'=>'fk_livraison');
|
||||||
//llx_projet_task
|
//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)
|
foreach($tables as $table)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -334,6 +334,9 @@ class Task extends CommonObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Delete rang of line
|
||||||
|
//$this->delRangOfLine($this->id, $this->element);
|
||||||
|
|
||||||
$sql = "DELETE FROM ".MAIN_DB_PREFIX."projet_task";
|
$sql = "DELETE FROM ".MAIN_DB_PREFIX."projet_task";
|
||||||
$sql.= " WHERE rowid=".$this->id;
|
$sql.= " WHERE rowid=".$this->id;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user