Ensure you are using the version (eg branch 8.0 for Odoo 8) you want to install.
Install by:
wget -O- https://raw.githubusercontent.com/vertelab/odootools/master/install | bash
Uninstall by: (this drops your databases and all your data related to Odoo)
wget -O- https://raw.githubusercontent.com/vertelab/odootools/master/uninstall | bash
Odoo-tools commands:
| Odoo-tools command | Description |
|---|---|
| alldbs | Lists all databases |
| allprojects | Lists all projects |
| cdb | change database |
| cdo | change directory to Odoo core |
| cdp | change directory to project |
| odooaddons | Updates addons_path with all project according to ODOOADDONS defined in odoo.tools |
| odooadminpw | view master password |
| odoocheckmodule | lists databases that use a module (eg odoocheckmodule sale) |
| odoocreatetestdb | Creates new database without e-mail-settings for outgoing mail |
| odoofind pattern | find patterns in odoo-core source code |
| odoogitclone project | clones and installs projects from githuh (vertel-projects) |
| odoogitpull | does a git pull for every project in ODOOADDONS |
| odoolangexport | export po/pot file for a module, -m -d -l . To export a pot-file exclude "-l" |
| odoopatch | Implements patches from the directory /etc/odoo/patch.d |
| odoorestart | Restarts odoo and apache/varnish or other systems that have to be restarted (configure in odoo.tools) |
| odoosetperm | Sets permissions for all projects and modules |
| odoosyncall -h host | Syncs all projects and modules |
| odoosync -h host -p project | Syncs a project to a server without git meta data |
| odootail | Views odoo-log live, you can use the one-liner odoorestart ; odootail to restart and monitor odoo |
| odooupd -h/--host, -P/--port, -d/--database, -m/--module, -p/--password, -l/--list, -i/--install, -u/--uninstall | Modifies Odoo-instanses; -m/--module= comma separated module list, -i/--install install or upgrade modules -u, --uninstall uninstall modules, -c/--check coma separeted module list |
| odooupdm database modulelist | Installs/updates modules in single user mode |
| odoovilog | Opens Odoo log file in vi |