Package: clodoo
OverviewClodoo is a set of tools to manage to manage multiple Odoo installations with many DBs.With clodoo you can do massive operations on 1 or more Odoo databases based on
different Odoo versions. Main operation are:create consistent database to run testsrepeat consistent action on many db with same or different Odoo versionrepeat above actions on every new databaseclodoo is also a PYPI package to simplify RPC connection to Odoo.
The PYPI package is a hub to oerplib and odoorpc packages, so generic python client
can execute any command to any Odoo version server (from 6.1 to 13.0)odoorc: general purpose bash libraryThe bash file odoorc is a general purpose Odoo library. It supplies some Odoo values from odoo_vid or from odoo directory.
Some values may depends by environment:ODOO_DB_USER is the rule to return db username (def odoo%(MAJVER)s)ODOO_GIT_HOSTNAME is the git hostname (def github.com)ODOO_GIT_SHORT -> regex of git organizzations with vid short name (def /(oca)/, see odoo-vid)Usage:. odoorc
RES=where:PARAM is one of (ALL|BIN|CONFN|DB_USER|DDIR|FLOG|FPID|FULLVER|FULL_SVCNAME|GIT_BRANCH|GIT_OPTS|GIT_ORG|GIT_ORGNM|GIT_PROT|GIT_URL|HOME|INVALID_MODNAMES|INVALID_MODNAMES_RE|LICENSE|LCONFN|MAJVER|MANIFEST|OCB_SUBDIRS|OCB_SUBDIRS_RE|OPTS_ASM|PARENTDIR|PKGNAME|PKGPATH|REPOS|ROOT|RORIGIN|RPCPORT|RUPSTREAM|SVCNAME|UPSTREAM|URL|URL_BRANCH|USER|VCS|VDIR|VENV)FeaturesFunction,Note
Manage version depending names,transodoo.py
Odoo general purpose library,odoorc
Examples,example*.pyGetting startedPrerequisitesZeroincombenze tools requires:Linux Centos 7/8 or Debian 9/10 or Ubuntu 18/20/22python 2.7+, some tools require python 3.6+, best python 3.8+bash 5.0+InstallationStable version via Python Packagepip install clodooCurrent version via Gitcd $HOME
[[ ! -d ./tools ]] && git clone https://github.com/zeroincombenze/tools.git
cd ./tools
./install_tools.sh -pUT
source $HOME/devel/activate_toolsUpgradeStable version via Python Packagepip install --upgrade clodooCurrent version via Gitcd ./tools
./install_tools.sh -pUT
source $HOME/devel/activate_toolsChangeLog History2.0.9 (2024-02-02)[IMP] odoorc improvements2.0.8 (2023-11-16)[FIX] Discard odoorpc 0.10 which does not work2.0.7 (2023-09-26)[FIX] Some fixes due old wrong code (id -> name)2.0.6 (2023-07-10)[IMP] Incorporated new pypi oerlib3[IMP] Discriminate http_port and xmlrpc_port to avoid mistake[IMP] New param IS_MULTI2.0.5 (2023-05-08)[FIX] clodoo.py: minor fixes[IMP] odoorc: odoo version 16.02.0.4 (2023-03-29)[IMP] odoorc: minor improvements[IMP] odoorc: test for Odoo 16.0[IMP] transodoo.py: minor improvements2.0.3 (2022-12-09)[FIX] odoorc: GIT_BRANCH sometimes fails2.0.2 (2022-10-20)[FIX] odoorc: GITORGID and other value, sometimes are wrong2.0.1.1 (2022-10-15)[IMP] Minor improvements2.0.1 (2022-10-12)[IMP] stable version2.0.0.3 (2022-10-06)[IMP] odoorc: best virtual environment recognize[FIX] odoorc: SVCNAME2.0.0.2 (2022-09-14)[IMP] list_requirements.py: get data from setup.py od Odoo2.0.0.1 (2022-09-06)[IMP] list_requirements.py: new option -S for secure packages2.0.0 (2022-08-10)[REF] Stable versionCreditsCopyrightSHS-AV s.r.l. <https://www.shs-av.com/>AuthorsSHS-AV s.r.l.ContributorsAntonio M.Vigliotti