[18.0][MIG] base_import_async: Migration to 18.0
Depends on:
- https://github.com/OCA/queue/pull/692
- https://github.com/OCA/queue/pull/681
Thank you @xaviedoanhduy, queue_job has been merged, you can remove your commit on test-requirements.txt
Hi, thanks for the work. I've tried this addon and have a little remark: Odoo works by batches and the default batch size is 2000 lines. When importing a bigger xls file and using the "Import in the background option", by default since Odoo works by batches, one job _split_file is created for each batch.
For eg for a 200.000 lines file, 10 jobs _split_file are created, and all the records are imported 10 times.
Shouldn't we add an option to avoid using Odoo batches when using OCA batches?
Hi @xaviedoanhduy did you have the opportunity to look at my previous comment? Thanks
Hi @xaviedoanhduy did you have the opportunity to look at my previous comment? Thanks
hi @marielejeune, Thanks for bringing up the issue in here. it seems that since this commit the issue you raised has been addressed by odoo. could you take the time to check it again?
Hi @xaviedoanhduy Thanks, indeed it was fixed by Odoo.
/ocabot migration base_import_async /ocabot merge nobump
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 18.0-ocabot-merge-pr-699-by-simahawk-bump-nobump, awaiting test results.
Congratulations, your PR was merged at a8a17a0245e10a87536c9cf451ff6cb081da5f7f. Thanks a lot for contributing to OCA. ❤️