We are currently working with Odoo Online (SaaS), version saas~18.3+e, and testing XML-RPC API integrations to automate document management tasks.
As part of our evaluation and testing phase of Odoo, we are validating whether key functionalities can be managed programmatically to support our internal workflows.
So far, we have been able to successfully connect to the API and create documents using the documents.document model, and assign them to existing folders via the folder_id field.
However, we have been unable to create new folders programmatically. The model documents.folder does not appear when querying ir.model, and any attempt to call it via execute_kw results in the following error:
vbnet
CopyEdit
Fault: <Fault 2: "Object documents.folder doesn't exist">
We have confirmed that the documents module is installed (state: 'installed'), and that we are using an administrator account. The folder structure is visible and usable through the web interface, but does not seem to be exposed through the XML-RPC API.
We would greatly appreciate your guidance on the following points:
- Is it possible to create folders via the XML-RPC API in Odoo Online (SaaS)?
- If so, what is the correct model and method to use?
- Are there any limitations or restrictions in Odoo SaaS that prevent access to documents.folder?
- Is there a recommended alternative approach to programmatically create or manage folder hierarchies?

