Testing an importer utility on Odoo 17 I was running into the rate limit issues.
The terms of use specify a rate limit of 1 per second. There is also a note about a Batch Import API. I couldn't find anything like that.
Importing ~5,500 is taking about 2 hours and isn’t that big of a problem. The bigger problem is creating the BOM for the Inventory Assembly Items. I need at least three requests for each item.
- Create the item
- Create the bom
- Create each bom line
- Create default vendor
This can end up being a lot of requests. I was hoping I could mass import all that items and bom/bom_lines to speed things up. Is there a way to do this?
https://www.odoo.com/documentation/16.0/developer/reference/backend/orm.html#create-update
Model.create() can take a list of records. Is it possible to do the same from the external API?