Trad: Ajout champ total_ht, total_tva et total_ttc au niveau de lignes detail des entites

This commit is contained in:
Laurent Destailleur 2006-06-22 22:07:44 +00:00
parent e0c724f3be
commit 349a955516

View File

@ -887,6 +887,14 @@ function migrate_price_commande($db,$langs,$conf)
$db->free();
$sql = "DELETE FROM ".MAIN_DB_PREFIX."commandedet";
$sql.= " WHERE price = 0 and total_ttc = 0 and total_tva = 0 and total_ht = 0";
$resql=$db->query($sql);
if (! $resql)
{
dolibarr_print_error($db);
}
$db->rollback();
}
else