manage_odoo(8)

NAME
manage_odoo - create, upgrade, remove and manage Odoo installation

SYNOPSIS
manage_odoo [options] actions

DESCRIPTION
manage_odoo is very useful to manage all the packages needed to build a complete Odoo installation and to check the current installation status. manage_odoo retrieves information about package from manifest file and from requirements.txt file. The requirements.txt file is a simple text file with packages required by Odoo repository, as pip requirements file (see -r switch of pip).
The manifest files are file used by Odoo to recognize packages. They are namaed __openerp__.py until Odoo 9.0 and __manifest__.py from Odoo 10.0
manage_odoo can manage both python2 Odoo (from 6.1 to 10.0 version) both python3 Odoo (11.0 and more).
Notice, you system must made avaiable python and pip command for Odoo until 10.0 and python3 and pip3 command for Odoo from 11.0. Try follow commands before use manage_odoo:
python --version
python3 -version
pip --version
pip3 --version
manage_odoo run on CentOS 7 / 8, Ubuntu 14 / 16 / 18 / 20 and Debian 8 / 9 / 10
Action is one of:
* help
* add_repository REPOSNAME
* build
* clean
* list
* rebuild
* requirements
* upgrade
You can issue more actions separated by plus simbol: i.e. build+clean
add_repository
    Download repository from github to local Odoo installation, upgrade /etc/odoo/ configuration file.
    If repository is already installed, ask for reinstall, This behaviour may be changed by -y switch.
    Git organization is selected by -O switch.
    Odoo version is selected by -b switch.
    Directory of Odoo is depending from Odoo version (-b switch) and mono or multiversion Odoo environment (-m switch). You can use -o switch to set your own path
build
    Build a complete Odoo installation, with all repositories.
lint
    Check requires travis emulator installed.
    Check run travis lint on local system. It is useful to check package before pushing on github.com
rebuild
    Rebuild an Odoo installation. Like build but delete previous installed directories.
requirements
    Check for all Odoo packages requirements and install or upgrade them if needed. This action requires system privileges in order to use apt-get or yum or any other installation package.
    Warning: this action requires lisa command. Read above about system commands.
    This action is activated by travis-ci when validates Zeroincombenze repository. See https://github.com/zeroincombenze/tools/tree/master/maintainer-quality-tools about this feature.
status
    Check for packages installation status. Read above about requirements action for more info.
upgrade
    Undocumented.

OPTIONS

-b  Declare Odoo version to manage; may be one or more of [v]6.1 [v]7.0 [v]8.0 [v]9.0 [v]10.0 [v]11.0 [v]12.0 (comma separated)

-D  Use internal default module list.

-ddependecies_dir
    Used by MQT in travis-ci test.

-H  Humdrum, display w/o colors

-m  Multi-version odoo environment

-n  Do nothing (dry-run)

-odirectory
    Odoo directory

-p2|3
    When installer is pip choice python version: may be 2 or 3 (def auto)

-q  Quiet mode

-q  silent mode

-s
     no stop after every repository/version

-V  Show version

-v  Verbose mode

-xrepository
    Repository list to exclude (comma separated)

-y  assume yes

EXAMPLES
    manage requirements -b11.0
Install all packages to run Odooo 11.0

SEE ALSO
apt-get, yum, pip, lisa

BUGS
No known bugs.

AUTHOR
Antonio Maria Vigliotti (antoniomaria.vigliotti@gmail.com)