Daily updates from Odoo
Thursday, April 23, 2026
1 change · master
Enhancements to existing features
After databases are synchronized with Odoo.com, the system now tries to create a local API key for each database that does not already have one. This reduces reliance on the global key and can save time during database access, improving overall sync performance.
Original PR description
Before this commit, databases fetched from Odoo's SaaS were contacted using the global API key, which is more costly than using a key local to each database. Avoiding the call from the server to Odoo to check the foreign API key can spare about 500ms on each database where this key is not in the LRU. With this commit, after the synchronization with Odoo.com, we try to generate an API key on each database that doesn't have one yet. To do so, it relies on the API introduced by odoo/odoo#246118. Forward-Port-Of: odoo/enterprise#114406 Forward-Port-Of: odoo/enterprise#106372