Dolibarr est un ERP/CRM français open-source très utilisé en France. Pour pouvoir vider les tables d’un Dolibarr afin de le remettre par défaut, il vous faut aller dans phpMyAdmin puis vider les tables concernés avec la requête SQL suivante :
TRUNCATE TABLE `llx_product_fournisseur_price` ; TRUNCATE TABLE `llx_product_extrafields` ; TRUNCATE TABLE `llx_product_fournisseur_price_log` ; TRUNCATE TABLE `llx_product_lang` ; TRUNCATE TABLE `llx_product_price` ; TRUNCATE TABLE `llx_product_stock` ; TRUNCATE TABLE `llx_product` ; TRUNCATE TABLE `llx_facturedet` ; TRUNCATE TABLE `llx_facture` ; TRUNCATE TABLE `llx_propal` ; TRUNCATE TABLE `llx_propaldet` ; TRUNCATE TABLE `llx_commande` ; TRUNCATE TABLE `llx_commandedet` ; TRUNCATE TABLE `llx_commande_fournisseur` ; TRUNCATE TABLE `llx_commande_fournisseurdet` ; TRUNCATE TABLE `llx_commande_fournisseur_dispatch` ; TRUNCATE TABLE `llx_commande_fournisseur_log` ; TRUNCATE TABLE `llx_stock_mouvement` ;
Cette requête est valable pour la version 7.x de Dolibarr et doit fonctionner également pour les versions antérieures.
1 Comment
Bertrand juillet 07, 2017
Est-ce compatible avec Dolibarr version 6.0 ? Merci
Laisser un commentaire