=============
clodoo 2.0.12
=============
|Maturity| |license gpl|
Overview
========
Clodoo 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 tests
* repeat consistent action on many db with same or different Odoo version
* repeat above actions on every new database
clodoo 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 library
------------------------------------
The 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)
Features
--------
Function,Note
Manage version depending names,transodoo.py
Odoo general purpose library,odoorc
Examples,example*.py
Getting started
===============
Prerequisites
-------------
Zeroincombenze tools requires:
* Linux Centos 7/8 or Debian 9/10 or Ubuntu 18/20/22
* python 2.7+, some tools require python 3.6+, best python 3.8+
* bash 5.0+
Installation
------------
Stable version via Python Package
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
pip install clodoo
Current version via Git
~~~~~~~~~~~~~~~~~~~~~~~
::
cd $HOME
[[ ! -d ./tools ]] && git clone https://github.com/zeroincombenze/tools.git
cd ./tools
./install_tools.sh -pUT
source $HOME/devel/activate_tools
Upgrade
-------
Stable version via Python Package
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
pip install --upgrade clodoo
Current version via Git
~~~~~~~~~~~~~~~~~~~~~~~
::
cd ./tools
./install_tools.sh -pUT
source $HOME/devel/activate_tools
ChangeLog History
-----------------
2.0.12 (2024-07-03)
~~~~~~~~~~~~~~~~~~~
* [FIX] Rpc with odoo < 10.0
* [IMP] It does no more depends on os0
* [IMP] Python 3.6 deprecated
2.0.11 (2024-03-31)
~~~~~~~~~~~~~~~~~~~
* [IMP] Parameters review
* [FIX] No file during pip install
* [FIX] Call with context Odoo 10.0+
2.0.10 (2024-03-26)
~~~~~~~~~~~~~~~~~~~
* [REF] Partial refactoring
2.0.9 (2024-02-02)
~~~~~~~~~~~~~~~~~~
* [IMP] odoorc improvements
2.0.8 (2023-11-16)
~~~~~~~~~~~~~~~~~~
* [FIX] Discard odoorpc 0.10 which does not work
2.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_MULTI
2.0.5 (2023-05-08)
~~~~~~~~~~~~~~~~~~
* [FIX] clodoo.py: minor fixes
* [IMP] odoorc: odoo version 16.0
2.0.4 (2023-03-29)
~~~~~~~~~~~~~~~~~~
* [IMP] odoorc: minor improvements
* [IMP] odoorc: test for Odoo 16.0
* [IMP] transodoo.py: minor improvements
2.0.3 (2022-12-09)
~~~~~~~~~~~~~~~~~~
* [FIX] odoorc: GIT_BRANCH sometimes fails
2.0.2 (2022-10-20)
~~~~~~~~~~~~~~~~~~
* [FIX] odoorc: GITORGID and other value, sometimes are wrong
2.0.1.1 (2022-10-15)
~~~~~~~~~~~~~~~~~~~~
* [IMP] Minor improvements
2.0.1 (2022-10-12)
~~~~~~~~~~~~~~~~~~
* [IMP] stable version
2.0.0.3 (2022-10-06)
~~~~~~~~~~~~~~~~~~~~
* [IMP] odoorc: best virtual environment recognize
* [FIX] odoorc: SVCNAME
2.0.0.2 (2022-09-14)
~~~~~~~~~~~~~~~~~~~~
* [IMP] list_requirements.py: get data from setup.py od Odoo
2.0.0.1 (2022-09-06)
~~~~~~~~~~~~~~~~~~~~
* [IMP] list_requirements.py: new option -S for secure packages
2.0.0 (2022-08-10)
~~~~~~~~~~~~~~~~~~
* [REF] Stable version
Credits
=======
Copyright
---------
SHS-AV s.r.l. <https://www.shs-av.com/>
Authors
-------
* `SHS-AV s.r.l. <https://www.zeroincombenze.it>`__
Contributors
------------
* `Antonio M. Vigliotti <antoniomaria.vigliotti@gmail.com>`__
|
|
.. |Maturity| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt:
.. |license gpl| image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |license opl| image:: https://img.shields.io/badge/licence-OPL-7379c3.svg
:target: https://www.odoo.com/documentation/user/9.0/legal/licenses/licenses.html
:alt: License: OPL
.. |Tech Doc| image:: https://www.zeroincombenze.it/wp-content/uploads/ci-ct/prd/button-docs-2.svg
:target: https://wiki.zeroincombenze.org/en/Odoo/2.0.12/dev
:alt: Technical Documentation
.. |Help| image:: https://www.zeroincombenze.it/wp-content/uploads/ci-ct/prd/button-help-2.svg
:target: https://wiki.zeroincombenze.org/it/Odoo/2.0.12/man
:alt: Technical Documentation
.. |Try Me| image:: https://www.zeroincombenze.it/wp-content/uploads/ci-ct/prd/button-try-it-2.svg
:target: https://erp2.zeroincombenze.it
:alt: Try Me
.. |Zeroincombenze| image:: https://avatars0.githubusercontent.com/u/6972555?s=460&v=4
:target: https://www.zeroincombenze.it/
:alt: Zeroincombenze
.. |en| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/flags/en_US.png
:target: https://www.facebook.com/Zeroincombenze-Software-gestionale-online-249494305219415/
.. |it| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/flags/it_IT.png
:target: https://www.facebook.com/Zeroincombenze-Software-gestionale-online-249494305219415/
.. |check| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/check.png
.. |no_check| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/no_check.png
.. |menu| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/menu.png
.. |right_do| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/right_do.png
.. |exclamation| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/exclamation.png
.. |warning| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/warning.png
.. |same| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/same.png
.. |late| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/late.png
.. |halt| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/halt.png
.. |info| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/info.png
.. |xml_schema| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/certificates/iso/icons/xml-schema.png
:target: https://github.com/zeroincombenze/grymb/blob/master/certificates/iso/scope/xml-schema.md
.. |DesktopTelematico| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/certificates/ade/icons/DesktopTelematico.png
:target: https://github.com/zeroincombenze/grymb/blob/master/certificates/ade/scope/Desktoptelematico.md
.. |FatturaPA| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/certificates/ade/icons/fatturapa.png
:target: https://github.com/zeroincombenze/grymb/blob/master/certificates/ade/scope/fatturapa.md
.. |chat_with_us| image:: https://www.shs-av.com/wp-content/chat_with_us.gif
:target: https://t.me/Assitenza_clienti_powERP
Raw data
{
"_id": null,
"home_page": "https://github.com/zeroincombenze/tools",
"name": "clodoo",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "odoo",
"author": "Antonio Maria Vigliotti",
"author_email": "antoniomaria.vigliotti@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/64/e3/acfc4962ab6b44613b77d57c4040a03c1076c5fdf154f2bbde9385713235/clodoo-2.0.12.tar.gz",
"platform": null,
"description": "=============\nclodoo 2.0.12\n=============\n\n\n\n|Maturity| |license gpl|\n\n\n\nOverview\n========\n\nClodoo is a set of tools to manage to manage multiple Odoo installations with many DBs.\n\nWith clodoo you can do massive operations on 1 or more Odoo databases based on\ndifferent Odoo versions. Main operation are:\n\n* create consistent database to run tests\n* repeat consistent action on many db with same or different Odoo version\n* repeat above actions on every new database\n\nclodoo is also a PYPI package to simplify RPC connection to Odoo.\nThe PYPI package is a hub to oerplib and odoorpc packages, so generic python client\ncan execute any command to any Odoo version server (from 6.1 to 13.0)\n\n\nodoorc: general purpose bash library\n------------------------------------\n\nThe bash file odoorc is a general purpose Odoo library. It supplies some Odoo values from odoo_vid or from odoo directory.\nSome values may depends by environment:\n\n- ODOO_DB_USER is the rule to return db username (def odoo%(MAJVER)s)\n- ODOO_GIT_HOSTNAME is the git hostname (def github.com)\n- ODOO_GIT_SHORT -> regex of git organizzations with vid short name (def /(oca)/, see odoo-vid)\n\nUsage:\n\n . odoorc\n RES=\n\n\nwhere:\n\n 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)\n\n\n\nFeatures\n--------\n\nFunction,Note\nManage version depending names,transodoo.py\nOdoo general purpose library,odoorc\nExamples,example*.py\n\n\n\nGetting started\n===============\n\n\nPrerequisites\n-------------\n\nZeroincombenze tools requires:\n\n* Linux Centos 7/8 or Debian 9/10 or Ubuntu 18/20/22\n* python 2.7+, some tools require python 3.6+, best python 3.8+\n* bash 5.0+\n\n\n\nInstallation\n------------\n\nStable version via Python Package\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n pip install clodoo\n\nCurrent version via Git\n~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n cd $HOME\n [[ ! -d ./tools ]] && git clone https://github.com/zeroincombenze/tools.git\n cd ./tools\n ./install_tools.sh -pUT\n source $HOME/devel/activate_tools\n\n\n\nUpgrade\n-------\n\nStable version via Python Package\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n pip install --upgrade clodoo\n\nCurrent version via Git\n~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n cd ./tools\n ./install_tools.sh -pUT\n source $HOME/devel/activate_tools\n\n\n\nChangeLog History\n-----------------\n\n2.0.12 (2024-07-03)\n~~~~~~~~~~~~~~~~~~~\n\n* [FIX] Rpc with odoo < 10.0\n* [IMP] It does no more depends on os0\n* [IMP] Python 3.6 deprecated\n\n2.0.11 (2024-03-31)\n~~~~~~~~~~~~~~~~~~~\n\n* [IMP] Parameters review\n* [FIX] No file during pip install\n* [FIX] Call with context Odoo 10.0+\n\n2.0.10 (2024-03-26)\n~~~~~~~~~~~~~~~~~~~\n\n* [REF] Partial refactoring\n\n2.0.9 (2024-02-02)\n~~~~~~~~~~~~~~~~~~\n\n* [IMP] odoorc improvements\n\n2.0.8 (2023-11-16)\n~~~~~~~~~~~~~~~~~~\n\n* [FIX] Discard odoorpc 0.10 which does not work\n\n2.0.7 (2023-09-26)\n~~~~~~~~~~~~~~~~~~\n\n* [FIX] Some fixes due old wrong code (id -> name)\n\n2.0.6 (2023-07-10)\n~~~~~~~~~~~~~~~~~~\n\n* [IMP] Incorporated new pypi oerlib3\n* [IMP] Discriminate http_port and xmlrpc_port to avoid mistake\n* [IMP] New param IS_MULTI\n\n2.0.5 (2023-05-08)\n~~~~~~~~~~~~~~~~~~\n\n* [FIX] clodoo.py: minor fixes\n* [IMP] odoorc: odoo version 16.0\n\n2.0.4 (2023-03-29)\n~~~~~~~~~~~~~~~~~~\n\n* [IMP] odoorc: minor improvements\n* [IMP] odoorc: test for Odoo 16.0\n* [IMP] transodoo.py: minor improvements\n\n2.0.3 (2022-12-09)\n~~~~~~~~~~~~~~~~~~\n\n* [FIX] odoorc: GIT_BRANCH sometimes fails\n\n2.0.2 (2022-10-20)\n~~~~~~~~~~~~~~~~~~\n\n* [FIX] odoorc: GITORGID and other value, sometimes are wrong\n\n2.0.1.1 (2022-10-15)\n~~~~~~~~~~~~~~~~~~~~\n\n* [IMP] Minor improvements\n\n2.0.1 (2022-10-12)\n~~~~~~~~~~~~~~~~~~\n\n* [IMP] stable version\n\n2.0.0.3 (2022-10-06)\n~~~~~~~~~~~~~~~~~~~~\n\n* [IMP] odoorc: best virtual environment recognize\n* [FIX] odoorc: SVCNAME\n\n2.0.0.2 (2022-09-14)\n~~~~~~~~~~~~~~~~~~~~\n\n* [IMP] list_requirements.py: get data from setup.py od Odoo\n\n2.0.0.1 (2022-09-06)\n~~~~~~~~~~~~~~~~~~~~\n\n* [IMP] list_requirements.py: new option -S for secure packages\n\n2.0.0 (2022-08-10)\n~~~~~~~~~~~~~~~~~~\n\n* [REF] Stable version\n\n\n\nCredits\n=======\n\nCopyright\n---------\n\nSHS-AV s.r.l. <https://www.shs-av.com/>\n\n\nAuthors\n-------\n\n* `SHS-AV s.r.l. <https://www.zeroincombenze.it>`__\n\n\n\nContributors\n------------\n\n* `Antonio M. Vigliotti <antoniomaria.vigliotti@gmail.com>`__\n\n\n|\n|\n\n.. |Maturity| image:: https://img.shields.io/badge/maturity-Beta-yellow.png\n :target: https://odoo-community.org/page/development-status\n :alt: \n.. |license gpl| image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n.. |license opl| image:: https://img.shields.io/badge/licence-OPL-7379c3.svg\n :target: https://www.odoo.com/documentation/user/9.0/legal/licenses/licenses.html\n :alt: License: OPL\n.. |Tech Doc| image:: https://www.zeroincombenze.it/wp-content/uploads/ci-ct/prd/button-docs-2.svg\n :target: https://wiki.zeroincombenze.org/en/Odoo/2.0.12/dev\n :alt: Technical Documentation\n.. |Help| image:: https://www.zeroincombenze.it/wp-content/uploads/ci-ct/prd/button-help-2.svg\n :target: https://wiki.zeroincombenze.org/it/Odoo/2.0.12/man\n :alt: Technical Documentation\n.. |Try Me| image:: https://www.zeroincombenze.it/wp-content/uploads/ci-ct/prd/button-try-it-2.svg\n :target: https://erp2.zeroincombenze.it\n :alt: Try Me\n.. |Zeroincombenze| image:: https://avatars0.githubusercontent.com/u/6972555?s=460&v=4\n :target: https://www.zeroincombenze.it/\n :alt: Zeroincombenze\n.. |en| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/flags/en_US.png\n :target: https://www.facebook.com/Zeroincombenze-Software-gestionale-online-249494305219415/\n.. |it| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/flags/it_IT.png\n :target: https://www.facebook.com/Zeroincombenze-Software-gestionale-online-249494305219415/\n.. |check| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/check.png\n.. |no_check| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/no_check.png\n.. |menu| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/menu.png\n.. |right_do| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/right_do.png\n.. |exclamation| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/exclamation.png\n.. |warning| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/warning.png\n.. |same| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/same.png\n.. |late| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/late.png\n.. |halt| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/halt.png\n.. |info| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/awesome/info.png\n.. |xml_schema| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/certificates/iso/icons/xml-schema.png\n :target: https://github.com/zeroincombenze/grymb/blob/master/certificates/iso/scope/xml-schema.md\n.. |DesktopTelematico| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/certificates/ade/icons/DesktopTelematico.png\n :target: https://github.com/zeroincombenze/grymb/blob/master/certificates/ade/scope/Desktoptelematico.md\n.. |FatturaPA| image:: https://raw.githubusercontent.com/zeroincombenze/grymb/master/certificates/ade/icons/fatturapa.png\n :target: https://github.com/zeroincombenze/grymb/blob/master/certificates/ade/scope/fatturapa.md\n.. |chat_with_us| image:: https://www.shs-av.com/wp-content/chat_with_us.gif\n :target: https://t.me/Assitenza_clienti_powERP",
"bugtrack_url": null,
"license": "Affero GPL",
"summary": "Do massive operations on Odoo Cloud",
"version": "2.0.12",
"project_urls": {
"Changelog": "https://github.com/zeroincombenze/tools/blob/master/clodoo/egg-info/CHANGELOG.rst",
"Documentation": "https://zeroincombenze-tools.readthedocs.io/en/latest/#clodoo",
"Homepage": "https://github.com/zeroincombenze/tools",
"Source": "https://github.com/zeroincombenze/tools/tree/master/clodoo"
},
"split_keywords": [
"odoo"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "64e3acfc4962ab6b44613b77d57c4040a03c1076c5fdf154f2bbde9385713235",
"md5": "fc31c36f0d1bd4103b6229e0e91749c9",
"sha256": "9f0362af0cd1f7add5bf179ad943cdbed4d3a2dd79942c741c9e75ccf87e9b51"
},
"downloads": -1,
"filename": "clodoo-2.0.12.tar.gz",
"has_sig": false,
"md5_digest": "fc31c36f0d1bd4103b6229e0e91749c9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 508356,
"upload_time": "2024-07-12T06:51:35",
"upload_time_iso_8601": "2024-07-12T06:51:35.417072Z",
"url": "https://files.pythonhosted.org/packages/64/e3/acfc4962ab6b44613b77d57c4040a03c1076c5fdf154f2bbde9385713235/clodoo-2.0.12.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-12 06:51:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zeroincombenze",
"github_project": "tools",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "clodoo"
}