No products
* Prices may vary depending on your country.
* An additional contribution can be added at the time of payment.
New products
mp22468d20250725121215
**TheImporter** is a Dolibarr module for easy batch processing of CSV data to import proposals (including proposal lines) — optionally with sales representatives — as well as products and companies. It supports field mapping, progress display, and chunked (batch) import. Cron scripts are included.
|
|
Import of proposals, products, and companies from CSV files
Proposals including proposal lines
Optional import of sales representatives per customer
Flexible field mapping in the admin area
Batch processing of large files (e.g. 1000 rows per step)
Persistent storage of CSV data between import steps
Progress display and per-row error reporting
User-friendly interface with collapsible reports
Additional cron scripts for scheduled imports directly from Dolibarr
Copy the module folder theimporter/ into the htdocs/custom/ directory of your Dolibarr installation.
Ensure that the folder custom/theimporter/uploads/ is writable.
Activate the module in Home → Setup → Modules within Dolibarr.
Configure the column-to-field mapping under Setup → TheImporter.
Navigate to TheImporter in the menu.
Select the desired entity (Proposals, Products, or Companies).
Upload a suitable CSV file.
Start the import process. For large files, the import is processed in batches.
Progress and any errors will be shown in the report section.
Dolibarr >= 19.x recommended
PHP >= 7.4
Write permissions for htdocs/custom/theimporter/uploads/
You can configure the number of rows per import step in the module settings.
The automatic execution of Dolibarr jobs must first be enabled in the core system!!!
Add the following to your crontab (crontab -e) (use your own dolibar install location!!!):
*/5 * * * * cd /var/www/html/dolibar && /usr/bin/php scripts/cron/cron_run_jobs.php 041197 doliadmin >> /var/www/documents/cron_run_jobs.php.log 2>&1
Then go to Admin Tools → Scheduled Jobs and create jobs as follows:
Companies:
Job type: PHP script
Module: theimporter
File: DOLIPATH/custom/theimporter/scripts/run_cron_society.php
Instance: CronSoc
Method: run
Products:
Job type: PHP script
Module: theimporter
File: DOLIPATH/custom/theimporter/scripts/run_cron_product.php
Instance: CronProduct
Method: run
Proposals:
Job type: PHP script
Module: theimporter
File: DOLIPATH/custom/theimporter/scripts/run_cron_offer.php
Instance: CronOffer
Method: run