Do massive operations on Odoo Cloud


Keywords
odoo
License
AGPL-1.0
Install
pip install clodoo==0.3.35.2

Documentation

Zeroincombenze tools 2.0.6

License: AGPL-3

Overview

Sparse python and bash source code

Package Name Brief Area
clodoo check_4_seq.sh Check for postgres database index maintenance
  clodoo.py Massive operations on multiple Odoo DBs in cloud. It is used to create configurated Odoo DBs and to upgrade more DBs at the same time. No (yet) documented maintenance
  force_password.sh Force Odoo DB password maintenance
  set_workers.sh Evaluate and set Odoo workers for best performance Deployment & maintenance
lisa lisa Linux Installer Simple App. LAMP and odoo server installer from scratch. deployment
odoo_score odoo_score.py Odoo ORM super core development
  odoo_shell.py Odoo shell for Odoo versions from 6.1 to 17.0 Development & maintenance
os0   Simple os interface checked for OpenVMS too development
python-plus python-plus Various features to python 2 and python 3 programs as integration of pypi future to help to port your code from Python 2 to Python 3 development
  vem Virtual Environment Manager: create, copy, move, merge and many other functions with virtual environments Deployment & maintenance
  list_requirements.py List pypi and bin packages for an Odoo installation deployment
travis_emulator travis Travis Emulator on local machine. Check your project before release on TravisCi testing
wok_code cvt_csv_to_rst.py Convert a csv file into rst text file with table inside documentation
  cvt_csv_to_xml.py Convert a csv file into xml file for Odoo module data development
  cvt_script Make bash script to standard development
  gen_readme.py Generate README.rst, index.html and __openerp__.py ,documentation documentation
  odoo_dependencies.py Show Odoo module tree, ancestors and/or childs development
  odoo_translation.py Load Odoo translation (deprecated, must be replaced by weblate) development
  please Developer shell development
z0bug_odoo z0bug_odoo Integration of zerobug and Odoo. Initially forked form OCA maintainer quality tools. It works with all Odoo version, from 6.1 to 17.0 testing
z0lib   General purpose bash & python library development
zar zar Zeroincombenze Archive and Replica. Backup your Odoo DBs maintenance
zerobug zerobug testing & debug library testing

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

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

Current version via Git

cd ./tools
./install_tools.sh -pUT
source $HOME/devel/activate_tools

ChangeLog History

python_plus: 2.0.15 (2024-10-02)

  • [FIX] vem.py: some packages line invoice2data on python 10.0
  • [FIX] vem: upgrade wkhtmltopdf naming
  • [FIX] list_requirements.py: packages with similar name (numpy -> numpy-financial)
  • [IMP] list_requirements.py: package versions improvements

z0lib: 2.0.12 (2024-08-22)

  • [FIX] os_system with verbose

wok_code: 2.0.19 (2024-08-22)

  • [FIX] please python 3.9+
  • [FIX] install_python_3_from_source.sh: fix bugs and improvements
  • [FIX] ssh.py: store encripted password
  • [IMP] run_odoo_debug: now can replace modules
  • [IMP] cvt_script executable
  • [IMP] deploy_odooo: more improvements
  • [IMP] please: minor improvements
  • [IMP] please clen db: remove filestore directories too

travis_emulator: 2.0.11 (2024-08-22)

  • [IMP] Minor improvements

clodoo: 2.0.13 (2024-08-22)

  • [IMP] Depends on z0lib>=2.0.11

zerobug: 2.0.18 (2024-08-21)

  • [IMP] Some function now are move in z0lib>=2.0..1
  • [IMP] Python 3.6 deprecated

zar: 2.0.6 (2024-08-21)

  • [IMP] pg_db_active with port for postgresql multi-version

z0bug_odoo: 2.0.21 (2024-08-21)

  • [IMP] Depends on z0lib>=2.0.11

oerplib3: 0.8.5 (2024-08-21)

  • [FIX] Python 3.10 porting

odoo_score: 2.0.10 (2024-08-21)

  • [IMP] Depends on z0lib>=2.0.11

lisa: 2.0.5 (2024-08-18)

  • [FIX] lisa_bld_ods: module replacements

lisa: 2.0.4 (2024-08-12)

  • [FIX] lisa_bld_ods: fixes & improvements

z0lib: 2.0.11 (2024-07-13)

  • [IMP] New function os_system
  • [IMP] New function print_flush

z0bug_odoo: 2.0.20 (2024-07-10)

  • [IMP] Offical _check4deps_.py
  • [FIX] No more depends on os0
  • [IMP] Python 3.6 deprecated

wok_code: 2.0.18 (2024-07-10)

  • [FIX] please python 3.9+
  • [FIX] deploy_odoo update addons_path in config file
  • [FIX] deploy_odoo update that requires checkout, requires -f switch
  • [FIX] deploy_odoo default branch from repo in actions different from clone
  • [IMP] deploy_odoo new action merge
  • [IMP] deploy_odoo new action new-branch
  • [IMP] deploy_odoo: new features on status
  • [FIX] gen_readme now check for images value for marketplace
  • [IMP] gen_readme now can use .jpg and .gif images
  • [IMP] new pg_requirements.py
  • [IMP] run_odoo_debug checks fro pg_requirements from __manifest__.rst
  • [FIX] No more depends on os0
  • [IMP] Python 3.6 deprecated

travis_emulator: 2.0.9 (2024-07-10)

  • [IMP] It does no more depends on os0
  • [IMP] Python 3.6 deprecated

odoo_score: 2.0.9 (2024-07-10)

  • [IMP] It does no more depends on os0
  • [IMP] Python 3.6 deprecated

python_plus: 2.0.14 (2024-07-08)

  • [IMP] list_requirements.py: package versions improvements
  • [IMP] Python 3.6 deprecated

zerobug: 2.0.17 (2024-07-07)

  • [FIX] z0testlib: no more depends on os0
  • [IMP] Python 3.6 deprecated

z0lib: 2.0.10 (2024-07-07)

  • [IMP] run_traced improvements
  • [IMP] Python 3.6 deprecated

clodoo: 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

zar: 2.0.5 (2024-05-22)

  • [FIX] zar_upd

zerobug: 2.0.16 (2024-05-14)

  • [FIX] z0testlib: no crash without coverage

  • [FIX] build_cmd: command not in scripts directory

z0bug_odoo: 2.0.19 (2024-05-11)

  • [IMP] Colored test results

wok_code: 2.0.17 (2024-05-11)

  • [FIX] odoo_translate.py various fixes
  • [IMP] Log file of daemon process of test in tests/logs
  • [IMP] run_odoo_debug: OCB repository does not search for other repositories
  • [IMP] deploy_odoo now download empy repositories (to compatibility use --clean-empy-repo)

python_plus: 2.0.13 (2024-05-11)

  • [IMP] list_requirements.py: package versions improvements
  • [FIX] list_requirements.py: in some rare cases wrong version to apply (factur-x)
  • [IMP] vem: now pip<23 and setuptools<58 are applied just if neeeded
  • [IMP] vem: pip is always updated to last version

z0bug_odoo: 2.0.18 (2024-04-17)

clodoo: 2.0.11 (2024-03-31)

  • [IMP] Parameters review
  • [FIX] No file during pip install
  • [FIX] Call with context Odoo 10.0+

wok_code: 2.0.16 (2024-03-26)

  • [FIX] odoo_translation.py: case correction
  • [FIX] run_odoo_debug: sometimes crashes on OCB/addons modules
  • [FIX] gen_readme.py: Odoo repository documentation
  • [FIX] gen_readme.py: thumbnail figure
  • [FIX] please docs: count assertions
  • [FIX] please test: switch -K --no-ext-test
  • [FIX] deploy_odoo: crash when clone existing directory
  • [IMP] deploy_odoo: new switch --continue-after-error
  • [FIX] deploy_odoo/wget_odoo_repositories: store github query in cache

odoo_score: 2.0.8 (2024-03-26)

  • [IMP] set_workers: no automatic discover for odoo multi
  • [IMP] Purged old unused code
  • [IMP] New odooctl command

clodoo: 2.0.10 (2024-03-26)

  • [REF] Partial refactoring

python_plus: 2.0.12 (2024-02-29)

  • [IMP] New function str2bool()

z0bug_odoo: 2.0.17 (2024-02-27)

  • [IMP] TestEnv: minor improvements
  • [FIX] TestEnv: crash if no account.journal in data
  • [IMP] Data with date range 2024

z0bug_odoo: 2.0.16 (2024-02-17)

  • [FIX] TestEnv: nested +multi fields with Odoo cmd

wok_code: 2.0.15 (2024-02-17)

  • [FIX] do_git_checkout_new_branch: ignore symbolic links
  • [FIX] deploy_odoo: minor fixes
  • [IMP] do_git_checkout_new_branch: oddo 17.0
  • [IMP] deploy_odoo: new action amend
  • [IMP] deploy_odoo: new switch to link repositories
  • [IMP] deploy_odoo: removed deprecated switches
  • [IMP] New repositories selection
  • [IMP] arcangelo improvements: new tests odoo from 8.0 to 17.0
  • [IMP] arcangelo improvements: test odoo from 8.0 to 17.0
  • [IMP] arcangelo switch -lll
  • [IMP] arcaneglo: rules reorganization
  • [IMP] arcangelo: trigger management and new param ctx
  • [IMP] arcangelo: new switch -R to select rules to apply

wok_code: 2.0.14 (2024-02-07)

  • [FIX] Quality rating formula
  • [FIX] please install python --python=3.7
  • [IMP] please publish marketplace
  • [IMP] read-only repository
  • [IMP] arcangelo improvements
  • [IMP] gen_readme.py manifest rewrite improvements
  • [IMP] cvt_csv_coa.py improvements
  • [IMP] please test with new switch -D
  • [IMP] run_odoo_debug improvements

python_plus: 2.0.11 (2024-02-05)

  • [FIX] vem: show right python version if 3.10+
  • [IMP] list_requirements.py improvements
  • [IMP] new python version assignment from odoo version

odoo_score: 2.0.7 (2024-02-05)

  • [REF] set_workers refactoring

clodoo: 2.0.9 (2024-02-02)

  • [IMP] odoorc improvements

z0lib: 2.0.9 (2024-02-01)

  • [IMP] Internal matadata

zerobug: 2.0.14 (2024-01-31)

  • [IMP] build_cmd: enable coverage on sub process
  • [FIX] Re-enable coverage statistics
  • [FIX] Printing message: right sequence

z0bug_odoo: 2.0.15 (2024-01-27)

  • [IMP] Documentation typo corrections
  • [IMP] Date range file .xlsx for TestEnv
  • [IMP] TestEnv: local data dir new rules
  • [FIX] TestEnv: 3 level xref, sometime fails with "_" in module name
  • [FIX] TestEnv: caller environment more than 1 level
  • [FIX] TestEnv: sometime is_action() fails
  • [FIX] TestEnv: wizard active model
  • [FIX] TestEnv: wizard module name is current module under test
  • [IMP] TestEnv: binding model in view for Odoo 11.0+
  • [IMP] TestEnv: write with xref can update xref id
  • [IMP] TestEnv: warning if no setUp() declaration
  • [IMP] TestEnv: resource_download, now default filed name is "data"

z0bug_odoo: 2.0.14 (2023-12-22)

  • [IMP] TestEnv: commit odoo data became internal feature
  • [IMP] TestEnv: test on model asset.asset
  • [IMP] TestEnv: detail external reference coding free
  • [IMP] TestEnv: empty currency_id is set with company currency
  • [FIX] TestEnv: minor fixes in mixed environment excel + zerobug
  • [FIX] TestEnv: sometimes external.KEY did not work
  • [FIX] TestEnv: 3 level xref fails when module ha "_" in its name
  • [IMP] _check4deps.py: documentation clearing

zerobug: 2.0.13 (2023-12-21)

  • [FIX] python2: argument signature
  • [IMP] build_os_tree: compatible with unittest2
  • [IMP] remove_os_tree: compatible with unittest2

z0bug_odoo: 2.0.13 (2023-12-01)

  • [IMP] TestEnv: now you can declare you own source data directory
  • [IMP] TestEnv: file account.account.xlsx with l10n_generic_oca + some useful records
  • [IMP] TestEnv: file account.tax.xlsx with some italian taxes for l10n_generic_oca
  • [IMP] TestEnv: simple expression for data value

travis_emulator: 2.0.8 (2023-12-01)

  • [IMP] Translation excel file names

zerobug: 2.0.12 (2023-11-27)

[FIX] python2: has_args

wok_code: 2.0.13 (2023-11-27)

  • [IMP] please install python, now can install python 3.10
  • [IMP] arcangelo: new python version assignment from odoo version
  • [IMP] please version: now show compare with last entry of history
  • [FIX] please docs: faq
  • [FIX] please help cwd
  • [FIX] gen_readme.py: sometimes lost history
  • [FIX] gen_readme.py: error reading malformed table
  • [IMP] odoo_translation.py: new regression tests
  • [FIX] odoo_translation.py: punctuation at the end of term
  • [FIX] odoo_translation.py: first character case
  • [FIX] odoo_translation.py: cache file format is Excel
  • [FIX] run_odoo_debug: path with heading space
  • [IMP] please test now can update account.account.xlsx

zerobug: 2.0.11 (2023-11-19)

  • [IMP] Disabled sanity_check
  • [IMP] Disabled some deprecated switches
  • [FIX] Coverage data file
  • [IMP] zerobug: test function signature like unittest2
  • [IMP] zerobug: no more execution for count

travis_emulator: 2.0.7 (2023-11-17)

  • [IMP] Automatic python version for Odoo

clodoo: 2.0.8 (2023-11-16)

  • [FIX] Discard odoorpc 0.10 which does not work

zerobug: 2.0.10 (2023-11-10)

  • [REF] Partial refactoring
  • [IMP] New functions assert* like unittest2
  • [IMP] New switch -f failfast
  • [IMP] Test signature like unittest2 and old zerobug signature
  • [IMP] Test flow without return status (like unitest2)

z0lib: 2.0.8 (2023-10-16)

  • [FIX] parseopt

oerplib3: 0.8.4 (2023-05-06)

  • [FIX] First porting

os0: 2.0.1 (2022-10-20)

  • [IMP] Stable version

os0: 1.0.3.1 (2021-12-23)

  • [FIX] python compatibility

Credits

Copyright

SHS-AV s.r.l. <https://www.shs-av.com/>

Authors

Contributors