click-odoo scripts collection
Project description
click-odoo-contrib is a set of useful Odoo maintenance functions. They are available as CLI scripts (based on click-odoo), as well as composable python functions.
Scripts
click-odoo-initdb
Usage: click-odoo-initdb [OPTIONS]
Create an Odoo database with pre-installed modules.
Almost like standard Odoo does, except this manages a cache of database
templates with the exact same addons installed. This is mostly intended to
save time when running tests.
Options:
-c, --config PATH ...
...
-n, --new-database TEXT Name of new database to create, possibly from
cache. If absent, only the cache trimming
operation is executed.
-m, --modules TEXT Comma separated list of addons to install.
[default: base]
--demo / --no-demo Load Odoo demo data. [default: True]
--cache / --no-cache Use a cache of database templates with the exact
same addons installed. Disabling this option also
disables all other cache-related operations such
as max-age or size. [default: True]
--cache-prefix TEXT Prefix to use when naming cache template databases
(max 8 characters). CAUTION: all databases named
like {prefix}-____________-% will eventually be
dropped by the cache control mechanism, so choose
the prefix wisely. [default: cache]
--cache-max-age INTEGER Drop cache templates that have not been used for
more than N days. Use -1 to disable. [default: 30]
--cache-max-size INTEGER Keep N most recently used cache templates. Use -1
to disable. Use 0 to empty cache. [default: 5]
--help Show this message and exit.
click-odoo-uninstall
Usage: click-odoo-uninstall [OPTIONS]
Options:
-c, --config PATH ...
-d, --database TEXT ...
...
-m, --modules TEXT Comma-separated list of modules to uninstall
[required]
--help Show this message and exit.
click-odoo-upgrade
Usage: click-odoo-upgrade [OPTIONS]
Options:
-c, --config PATH ...
-d, --database TEXT ...
...
--i18n-overwrite Overwrite existing translations
--upgrade-all Force a complete upgrade (-u base)
--help Show this message and exit.
Useful links
pypi page: https://pypi-hypernode.com/project/click-odoo-contrib
code repository: https://github.com/acsone/click-odoo-contrib
report issues at: https://github.com/acsone/click-odoo-contrib/issues
Credits
Contributors:
Maintainer
This project is maintained by ACSONE SA/NV.
Changes
1.0.0 (2018-05-27)
add click-odoo-initdb
1.0.0b3 (2018-05-17)
be more robust in rare case button_upgrade fails silently
1.0.0b2 (2018-03-28)
uninstall: commit and hide –rollback
upgrade: refactor to add composable function
1.0.0b1 (2018-03-28)
upgrade: save installed checksums after full upgrade
1.0.0a1 (2018-03-22)
first alpha
click-odoo-uninstall
click-odoo-upgrade
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file click-odoo-contrib-1.0.0.tar.gz
.
File metadata
- Download URL: click-odoo-contrib-1.0.0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d9610fd239c1282e6e7fd75906c0a47a5696ad18946a2b896941bbab46314bb |
|
MD5 | 131d801c47735260d3c39dc2322946ae |
|
BLAKE2b-256 | c183e51fba28b4f15ff42cf6ee871d2d3344fec336dcfa162306495906a89f47 |
File details
Details for the file click_odoo_contrib-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: click_odoo_contrib-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c7e65e18f2192431b90d4d259cf89ee2e91eed2fd0c89458eee3951e9cc5939 |
|
MD5 | 142c47861216accbdff19b81411451ee |
|
BLAKE2b-256 | e9c448f15ac2a0bc4b666637a7cc07536f626412c314ad618df1c37e5f577837 |