Skip to main content

Paster templates to create an Odoo module or instance using buildout

Project description

Collection of paster templates that can be used to quickly create an Odoo instance or module

Install the templates

You can either use:

pip install anybox.paster.odoo

or the same in a virtualenv:

virtualenv sandbox
source ./sandbox/bin/activate
pip install anybox.paster.odoo

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 Odoo instance

This template will create an empty Odoo instance with an optional local module for client customizations. The Odoo version can be pulled from the bazaar branches of from the latest nightly build.

Run the paster command like this:

paster create -t odoo_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.odoo

Creating an Odoo 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 odoo_module

Authors and contributors

  • Jean-Sebastien Suzanne

  • Christophe Combelles

  • Georges Racinet

We are open to all contributions. The source code and bug tracker are hosted on Bitbucket:

https://bitbucket.org/anybox/anybox.paster.odoo/

Changes

1.5 (2016-08-16)

  • no more fabiles here by default

  • added advanced_attachments by default

  • added GeoIP as a dependency

  • no more bootstrap.py (run buildout bootstrap instead)

  • nose script in dev buildout

1.4.1 (2015-07-16)

  • renamed addons to addons_specific

  • cleanup and pep8

  • updated the boostrap

  • depth=1 by on the odoo git clone

  • use the new recipe

  • use the Anybox OCB branch

  • added an anybox fabfile bootstrap

  • use the requirements.txt of odoo

1.3 (2014-11-03)

  • fixed default value for ‘web’ in modules

1.2 (2014-11-02)

  • fixed default buildout for pychart

1.1 (2014-11-02)

  • fixed packaging

1.0 (2014-11-01)

  • move to 1.0 to avoid confusion with v7 branch

0.6 (2014-11-01)

  • renamed anybox.paster.openerp to anybox.paster.odoo

  • adapted for Odoo 8

  • 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

anybox.paster.odoo-1.5.tar.gz (9.3 kB view details)

Uploaded Source

File details

Details for the file anybox.paster.odoo-1.5.tar.gz.

File metadata

File hashes

Hashes for anybox.paster.odoo-1.5.tar.gz
Algorithm Hash digest
SHA256 5d97663fd140365d6051857d7514aedf816b2d03896ac9573d0098dcc8490376
MD5 791733e4cc7000e61ed33e01f2805ef2
BLAKE2b-256 0a1cc61155cdcd6cc100a814393f11e58b126ef683e163a80cab73173ea41c29

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page