Bash zeroincombenze lib


Keywords
bash, optargs
License
AGPL-1.0
Install
pip install z0lib==0.2.9

Documentation

Zeroincombenze tools 2.0.5

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

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"

clodoo: 2.0.9 (2024-01-27)

[IMP] odoorc improvements

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
  • [IMP] build_cmd: enable coverage on sub process
  • [FIX] Re-enable coverage statistics
  • [FIX] Printing message: right sequence

wok_code: 2.0.13.1 (2023-12-05)

  • [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

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

travis_emulator: 2.0.7 (2023-11-17)

  • [IMP] Automatic python version for Odoo

python_plus: 2.0.11 (2023-11-17)

  • [IMP] new python version assignment from odoo version

clodoo: 2.0.8 (2023-11-16)

[FIX] Discard odoorpc 0.10 which does not work

z0lib: 2.0.8 (2023-10-16)

  • [FIX] parseopt

zar: 2.0.4 (2023-09-08)

  • [IMP] Backup filestore
  • [FIX] Remote copy to /dev/null

lisa: 2.0.3 (2023-09-07

  • [FIX] lisa_bld_ods: fixes & improvements

zar: 2.0.3 (2023-09-06)

  • [FIX] DB name with hyphen (-)

z0lib: 2.0.7 (2023-07-20)

  • [FIX] run_traced return system exit code
  • [IMP] run_traced: new rtime parameter to show rtime output
  • [IMP] New main

python_plus: 2.0.10 (2023-07-18)

  • [IMP] list_requirements.py: werkzeug for Odoo 16.0
  • [FIX] vem create: sometimes "virtualenv create" fails for python 2.7
  • [IMP] pip install packages with use2to3 is backupgrdae to < 23

oerplib3: 0.8.4 (2023-05-06)

  • [FIX] First porting

odoo_score: 2.0.6 (2023-04-16)

  • [FIX] Import class models.Model

odoo_score: 2.0.5 (2023-03-23)

  • [IMP] run_odoo_debug.sh: moved to package wok_code

os0: 2.0.1 (2022-10-20)

  • [IMP] Stable version

lisa: 2.0.2 (2022-10-20)

  • [FIX] lisa_bld_ods: fixes & improvements

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