Works on migration management positioning lines

Phase 4 : llx_expeditiondet et llx_livraisondet
This commit is contained in:
Regis Houssin
2010-09-06 16:31:28 +00:00
parent 9b1b24cf56
commit b9ba88a5d2
13 changed files with 88 additions and 31 deletions

View File

@@ -1992,6 +1992,9 @@ class Commande extends CommonObject
dol_syslog("CustomerOrder::delete error", LOG_ERR);
$err++;
}
// Delete all rang of lines
$this->delAllRangOfLines();
// Delete order
$sql = 'DELETE FROM '.MAIN_DB_PREFIX."commande WHERE rowid = ".$this->id;