Expand description
The Odoo “db” service (JSON-RPC)
This service handles database-management related methods (like create, drop, etc)
Note that you will see some methods that require a passwd argument. This is not
the Odoo user password (database-level). Instead, it’s the Odoo server-level
“master password”, which can be found in the Odoo .conf file as the admin_passwd key.
Structs§
- Change
Admin Password - Change the Odoo “master password”
- Change
Admin Password Response - The response to a
ChangeAdminPasswordrequest - Create
Database - Create and initialize a new database
- Create
Database Response - The response to a
CreateDatabaserequest - DbExist
- Check if a database exists
- DbExist
Response - The response to a
DbExistrequest - Drop
- Drop (delete) a database
- Drop
Response - The response to a
Droprequest - Dump
- Dump (backup) a database, optionally including the filestore folder
- Dump
Response - The response to a
Dumprequest - Duplicate
Database - Duplicate a database
- Duplicate
Database Response - The response to a
DuplicateDatabaserequest - List
- List the databases currently available to Odoo
- List
Countries - List the countries available to Odoo (ISO name + code)
- List
Countries Response - The response to a
ListCountriesrequest - List
Countries Response Item - A single country item from the
ListCountriesrequest - List
Lang - List the languages available to Odoo (ISO name + code)
- List
Lang Response - The response to a
ListLangrequest - List
Lang Response Item - A single language item from the
ListLangrequest - List
Response - The response to a
Listrequest - Migrate
Databases - Perform a “database migration” (upgrade the
basemodule) - Migrate
Databases Response - The response to a
MigrateDatabasesrequest - Rename
- Rename a database
- Rename
Response - The response to a
Renamerequest - Restore
- Upload and restore an Odoo dump to a new database
- Restore
Response - The response to a
Restorerequest - Server
Version - Return the server version
- Server
Version Response - The response to a
ServerVersionrequest
Enums§
- Dump
Format - The format for a database dump
- Restore
Type - The type of database restore