Paster templates to create an OpenERP module or instance using buildout
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.
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
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
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
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
- fixed packaging
- updated the bootstrap
- fixed icons
- removed hardcoded values
- latest bootstrap
- update lxml
- put back the pychart import
- pin werkzeug by default
- fixed default icon
- Initial implementation for the template openerp_module
- Initial implementation for the template openerp_instance