forked from Wavyzz/dolibarr
Works on migration management positioning lines
Phase 4 : llx_expeditiondet et llx_livraisondet
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user