-
Notifications
You must be signed in to change notification settings - Fork 0
Perl library to manage Odoo databases
License
nmbooker/p5-Odoo-Database-Manager
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NAME Odoo::Database::Manager - database management for Odoo (EXPERIMENTAL) DESCRIPTION Create and drop Odoo databases from your Perl scripts SYNOPSIS use v5.20; use Odoo::Database::Manager; my $dbman = Odoo::Database::Manager->new( url => 'http://localhost:8069', password => 'manager_admin_password'); say "Current databases:"; say for $dbman->list_databases; say "Creating new database foo:"; $dbman->createdb(dbname => 'foo', lang => 'en_GB', admin_password => 'admin'); say "Dropping foo again:"; $dbman->dropdb('foo'); STATUS EXPERIMENTAL METHODS list_databases Return list of Odoo databases. my @dbs = $dbman->list_databases; createdb Create a database. No meaningful return value as yet. $dbman->createdb(dbname => 'my_db', lang => 'en_GB', admin_password => 'password'); dropdb Drop the database. No meaningful return value as yet. $dbman->dropdb('my_db'); COPYRIGHT AND LICENSE Copyright (C) 2016 Nick Booker This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information.
About
Perl library to manage Odoo databases
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published