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
ChangeAdminPassword
request - Create
Database - Create and initialize a new database
- Create
Database Response - The response to a
CreateDatabase
request - DbExist
- Check if a database exists
- DbExist
Response - The response to a
DbExist
request - Drop
- Drop (delete) a database
- Drop
Response - The response to a
Drop
request - Dump
- Dump (backup) a database, optionally including the filestore folder
- Dump
Response - The response to a
Dump
request - Duplicate
Database - Duplicate a database
- Duplicate
Database Response - The response to a
DuplicateDatabase
request - 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
ListCountries
request - List
Countries Response Item - A single country item from the
ListCountries
request - List
Lang - List the languages available to Odoo (ISO name + code)
- List
Lang Response - The response to a
ListLang
request - List
Lang Response Item - A single language item from the
ListLang
request - List
Response - The response to a
List
request - Migrate
Databases - Perform a “database migration” (upgrade the
base
module) - Migrate
Databases Response - The response to a
MigrateDatabases
request - Rename
- Rename a database
- Rename
Response - The response to a
Rename
request - Restore
- Upload and restore an Odoo dump to a new database
- Restore
Response - The response to a
Restore
request - Server
Version - Return the server version
- Server
Version Response - The response to a
ServerVersion
request
Enums§
- Dump
Format - The format for a database dump
- Restore
Type - The type of database restore