Skip to Content
Generic Import - Generic Task Queue
Generic Import - Generic Task Queue

Generic Import - Generic Task Queue

by Kitworks Systems
99,00 €
Odoo Apps Dependencies base, base_setup, bus, http_routing, web
Community Apps Dependencies
Technical Name kw_generic_import_generic_task_queue
License OPL-1
Website https://kitworks.systems/
Versions 16.0 17.0 18.0 19.0

What this module does

The engine can already run a session in the background on its own cron: one batch every five minutes, one session per tick. This add-on hands the session to a Generic Task Queue worker instead, which keeps processing batches until the file is finished and reports how far it got. It stays a separate module because it pulls in the queue service as a dependency, and not every installation wants that.

Batches run back to back

The worker picks up the next batch as soon as the previous one commits, so a long session no longer waits five minutes between batches. Batch size stays whatever the template says, 200 rows by default.

Progress and cancel while it runs

Every committed batch updates the progress percentage on the queue task. A cancel request is read between batches, so the run stops cleanly and the rows already imported stay imported.

Resumes where it stopped

Each batch commits its own counters and its processed row position. If the worker dies or the task retries, up to three times, the session continues from the last processed row instead of writing the same rows twice.

Runs as the person who queued it

Batches execute under the user who queued the session, never under the superuser. Access rights and record rules apply exactly as they do when the same import runs in the foreground.

See it in action

Import session running through the task queue

A queued session reporting progress on the import channel.

Needs the Generic Import engine

This add-on only changes where import sessions run. Templates, mapping and the sessions themselves come from Generic Import, which has to be installed first, together with the generic_task_queue service that runs the worker.

Universal Data Import — 99 EUR

Need help?

Questions, customisation or paid support — we’ll get back the same business day.

info@kitworks.systems