Coder Social home page Coder Social logo

marionumza / odootools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vertelab/odootools

0.0 0.0 0.0 497.71 MB

Some tools for odoo cm and operations

Shell 1.28% Python 3.94% Makefile 0.10% HTML 24.99% JavaScript 13.97% SCSS 36.70% Rich Text Format 0.69% CSS 18.33% Classic ASP 0.01%

odootools's Introduction

odootools for Ubuntu 20.04

Tools to help to install and manage an Odoo installation.

Prerequisites

The installation scripts assume the host OS is Ubuntu 20.04. Usage on other systems might require tweaking to work.

Odoo 14 require init-system-helpers 1.57 or later. This rules out usage of Ubuntu 18.04 or older.

Install

Installation of Odoo and Odootools.

Ensure you are using the version (eg branch 14.0 for Odoo 14) you want to install.

When you are logged in with the root-account. Run the following command.

Step 1: The command below will download and execute the installation script:

wget -O- https://raw.githubusercontent.com/vertelab/odootools/14.0/install | bash

Step 2: Add users with these commands: Add userser

sudo adduser username
sudo adduser username sudo
sudo adduser username odoo

Step 3: Follow the instructions for the management of the Odoo source repositories https://github.com/vertelab/odootools/blob/14.0/repos/README.md

Step 4: If you want to add more than the standard themes please add them from here https://github.com/vertelab/odootools/blob/14.0/themes

Uninstall

Use the command below to uninstall your Odoo installation.

this drops your databases and all your data related to Odoo

wget -O- https://raw.githubusercontent.com/vertelab/odootools/14.0/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 the addons_path with all project according to ODOOADDONS defined in odoo.tools. These are stored here: https://github.com/vertelab/odootools/blob/14.0/repos/
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
odooscaffold path/to/project/ modulename Creates a boilerplate for new modules to work from
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. For example: $ odooupdm customer_db1 base
odoovilog Opens Odoo log file in vi

/etc/odoo/odoo.tools

You can change the line

export ODOOHOSTS="" 

to change the autocomplete for odootools commands that has a target host.

odootools's People

Contributors

anderswallenquist avatar fredrikarvas-vertel avatar jakobkrabbe avatar robch2342 avatar haojunzou avatar simonrundstedt avatar lukaspohlman avatar nils-vertel avatar daerio avatar sky2hawkz avatar robfro45 avatar markusjacobsson avatar olyrhc avatar christellewehbe93 avatar christellewehbe avatar beremavertel avatar han-wong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.