Paster templates to create an OpenERP module or instance using buildout
Project description
Warning: This package is only maintained for OpenERP 7. It has been renamed to anybox.paster.odoo for Odoo 8.
Collection of paster templates that can be used to quickly create an OpenERP module or instance.
Install the templates
You can either use:
pip install anybox.paster.openerp
or the same in a virtualenv:
virtualenv sandbox source ./sandbox/bin/activate pip install anybox.paster.openerp
or manually download the archive below, uncompress, and:
python setup.py install
Usage
This package depends on PasteScript, which will be installed as a dependency and which offers a pluggable command called paster. For more information on PasteScript, consult its documentation.
You can list all the available templates with:
paster create --list-templates
Creating an OpenERP instance
This template will create an empty OpenERP instance with an optional local module for client customizations. The OpenERP version can be pulled from the bazaar branches of from the latest nightly build.
Run the paster command like this:
paster create -t openerp_instance
Then answer the questions, and run the commands given at the end.
You can then modify the buildout configuration file as needed. For this part, please consult the documentation of anybox.recipe.openerp
Creating an OpenERP module
Once you have a running instance, you can create new modules in the addons directory. Run the paster command like this:
paster create -t openerp_module
Changes
0.7 (2014-11-02)
fixed packaging
0.6 (2014-11-01)
updated the bootstrap
0.5 (2014-04-25)
fixed icons
removed hardcoded values
0.4 (2014-01-06)
latest bootstrap
update lxml
0.3 (2013-07-28)
put back the pychart import
pin werkzeug by default
fixed default icon
0.2 (2013-06-12)
Initial implementation for the template openerp_module
Initial implementation for the template openerp_instance
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file anybox.paster.openerp-0.7.tar.gz
.
File metadata
- Download URL: anybox.paster.openerp-0.7.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 292cc3e5b54d8b8bbe8696fc46f8062ffb9f6c0e8ff8d6ef5a3bf3bf8d43bda8 |
|
MD5 | a16ba4189ca28c6814580ece982764a8 |
|
BLAKE2b-256 | b2f634a35b9a0009fac0cf8f020e16e50265f641b4c783e9971474a6a25f1510 |