Module odoo_api::service::db

source ·
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 the Odoo “master password”
Create and initialize a new database
Check if a database exists
Drop (delete) a database
Dump (backup) a database, optionally including the filestore folder
Duplicate a database
List the databases currently available to Odoo
List the countries available to Odoo (ISO name + code)
List the languages available to Odoo (ISO name + code)
Perform a “database migration” (upgrade the base module)
Rename a database
Upload and restore an Odoo dump to a new database
Return the server version

Enums

The format for a database dump