Package: anybox.recipe.odoo
This recipe forBuildoutis
a fully featured tool allowing you to define and deploy quickly
Odoo installations of any kinds, starting from the 8.0 series, and
ranging from development setups to
fully automated production deployments or continuous integration.NoteFor older Odoo versions (which was known as “OpenERP” at the
time), please useanybox.recipe.openerp, that you’ll
find also onPyPIandGitHub.Some of its main features include:uniformity across Odoo versions (from 8.0 onwards)installation of Odoo serverretrieval of main software and addons from various sources,
including the major version control systemsability to pinpoint everything for replayabilitymanagement of Odoo configurationdedicated scripts creation for easy integration of external tools,
such as test launcherspackaging: creation of self-contained equivalents for easy
deployment in tightly controlled hosting environmenents.All these to be considered together with Buildout‘s general
properties, such as an extensible configuration file format for easy
variation or separation of concerns, native Python distributions
installation, and of course the huge ecosystem of other recipes.DocumentationThefull documentationis written withSphinx, built continuously and
uploaded tohttp://docs.anybox.fr/anybox.recipe.odooby Anybox’ public
buildbot.
The Sphinx source tree is to be found under thedocsubdirectory
of this project.The latest released version of the documentation is uploaded to PyPI
alongside with the package. SeePyPIDocumentationHostingfor details.Bug reports and FeedbackPlease don’t hesitate to give feedback and especially report bugs or
ask for new features on GitHub:https://github.com/anybox/anybox.recipe.odooUseful linksPyPI page:http://pypi.python.org/pypi/anybox.recipe.odooMain documentation:http://docs.anybox.fr/anybox.recipe.odooCode repository and bug tracker:https://github.com/anybox/anybox.recipe.odooContributors informationSeethe latest version of the contributors documentation.CreditsAuthors:Christophe CombellesGeorges RacinetContributors:Jean-Sébastien SuzanneYannick VaucherJacques-Etienne BaudouxLaurent MignonLeonardo PistoneStefan RijnhartStéphane BidoulSebastian KennedyLaetitia GangloffSandy CarterHolger BrunnLeonardo Rochael AlmeidaChangesThe 1.9 series ofanybox.recipe.openerpandanybox.recipe.odooare stable versions.This changelog displays timelines for the two recipesanybox.recipe.openerpwas considered upstream ofanybox.recipe.odoountil release of version 1.9.2b1 of the latter.anybox.recipe.odoo 1.9.2 (2016-09-20)identical to 1.9.2b1anybox.recipe.odoo 1.9.2b1 (2016-08-29)github #43: new optionapply-requirements-file(and pip version
compatibilities handled in #76)github #18: Support develop-dir option from gp.vcsdevelopadapted nightly archive URgithub #63: option via environment variable to skip PostgreSQL user
checks (useful in Docker cases)github #30: fixed regression with optiongunicorn.preload_databasesthat appeared in 1.9.0Git subsystemgithub #78: skip querying remote for commit specified by its SHA and
already locally availablegithub #69: (git) allow merging via sha1 hashgithub #29: merge broken with Git 1.7.9github #71: (git) option to disable the warning about relying on
SHAsRuntime / scripts / upgradegithub #37: made Odoo’s new APIEnvironmentinstance available
toSessioninstance, and subsequent fixes:github #77: environment (part of Odoo’s new API) used to be broken by
installation of modulesgithub #23: cursor auto-closing in upgrades, and more robustness ofSession.close()github #37: fetch and apply superuser’s context to session.Freeze/extractgithub #33: during freeze, if the origin buildout configuration uses
an already frozen revision specification, do not replace it by the
result of introspection of local clone. Especially meaningful with Git,
because this used to replace nice tags with SHAs that are less
reliable.github #20: value ofrecipeoption now gets copied to extracted
buildout even if it has no extras such as[bzr]Documentationgithub #73: consistency of working dirs in shell code examplesgithub #60: new responsive theme usingSphinx
Bootstrap Themerenamed many occurrences of OpenERP to OdooDevelopmentGithub pull requests get tested by Travis with Coveralls.Anybox’s buildbotis still around
for integration tests actually requiring to install Odoo and to run
unit test against slightly different software basescleanup and unification ofsetup.pysubcommandsless setuptools clutter in unit tests runsanybox.recipe.odoo 1.9.1 (2014-12-17)github #20: Avoid duplicate entries in the addons option generated by
extract-downloads-togithub #7: template forupgrade.pywas missing for a.r.odooanybox.recipe.openerp 1.9.1 (2015-01-12)github PR #5:ir_model_datahelpers for
theSessionAPI (sripts and python shell)github #6: fixed download URL for OpenERP 6.1-1github #3: [git] support HEAD as a (remote) revision
specification. In a related way, added the branch indication to SHA
pinning, which isn’t deprecated any more due to wide usage, only
warned that it’s suboptimal.anybox.recipe.odoo 1.9.0 (2014-12-05)first release, skimmed from anybox.recipe.openerp 1.9.0rename to anybox.recipe.odooanybox.recipe.openerp 1.9.0 (2014-12-02)launchpad #1332147: insensitivity to project name in setup.py
(openerp, odoo, whatever).launchpad #1332465: [git] support for shallow clones (–depth),
refactor to allow this consistently with detached head states,
branch changes, etc.launchpad #1358353: with github layout, respect ordering if the place of the
standards (non-base) addons is explicitely set as ‘local’ (allows to insert
overrides before them).launchpad #1391571 (related): revert used to fail with grouped
standalone addonslaunchpad #1391571 (related): revert used to fail if some sources
were ‘local’ or ‘downloadable’.launchpad #1214832 (related): introduction of explicit ‘group’
option for standalone addons.launchpad #1294020: vcs-revert=on-merge option, and implementation
for bzrlaunchpad #1274174: new feature for automatic merge of remote VCS
sources, with bzr support.launchpad #1327773: [git] support for automatic mergeslaunchpad #1392913: extract-download-to completely removes the
gp.vcsdevelop extension and the bzr extra in the produced buildoutlaunchpad #1232729: handling of server-wide modules by the recipelaunchpad #1327609: support inline comments in multi-line options1.8.6 (2014-11-17)launchpad #1358353: with github layout, respect ordering if the place of the
standards (non-base) addons is explicitely set as ‘local’ (allows to insert
overrides before them).launchpad #1391258: [git] clear-retry is now honoured (a last chance
in case of non updatable repos), but a ‘git reset’ gets tried first
to circumvent impossible fast-forwards and avoid full recloning in
these cases.launchpad #1208028: another case where parsing of exception while
installing egg failed. Rewrote the whole logic, with much unit-testingfixed URL and filenames for nightlies1.8.5 (2014-07-29)gevent script generation backported to version 7.saas~3 and followinglaunchpad #1343518: versions < 8 with layout of odoo on Github had severe
shadowing issues.launchpad #1338405: [odoo] provided necessary environments init in session
(needed for interactive session and various scripts)launchpad #1249566: [bzr] avoid outgoing requests in offline mode
due to lp: locations resolutionlaunchpad #1244721: fixed final reporting of upgrade script with python 2.6launchpad #1208745: [hg] robustness about content of .hg/hgrc1.8.4 (2014-06-16)launchpad #1327756: support new addons layout on githublaunchpad #1324579: [odoo] generation of gevent script (longpolling)
and have it used through the –workers optionlaunchpad #1321919: [v8] fixed potential masking of standard library
by addons of the same namelaunchpad #1234014: [git] tracked branch were not properly updated
if the branch was already the current onelaunchpad #1320198: [bzr] using revids internally and in particular
in freeze/extract featureslaunchpad #1320198: [bzr] forbidding change of parent location in
offline mode unless this is for a fixed revision ID (no ambiguity),
and forcing a pull in non offline mode.launchpad #1317269: [v8] OpenERP server can’t start in a multi workers modelaunchpad #1314566: [v8] OpenERP scripts & interpreter can’t load db1.8.3 (2014-04-19)launchpad #1281262: newopenerp-log-levelmodifier inopenerp_scriptslaunchpad #1289761: using the properzc.buildout.UserErrorin
lots of places.launchpad #1296178: have unparseable addons lines end up inUserErroras well.launchpad #1229908: fixed tarball download url for the 6.0.x releases1.8.2 (2014-02-08)launchpad #1275168: when freeze nightly version was not set correctlylaunchpad #1245261: new--init-alloption intest_openerpandstart_openerpscripts.1.8.1 (2013-10-17)launchpad #1235946 (demo data): consistent behaviour and capability
to load them.launchpad #1239721: now session has ‘is_initialization’ attribute for
creation use-cases of upgrade script; using it to improve logging,
and in default upgrade script.1.8.0 (2013-10-01)launchpad #1222482: upgrade toolkit and upgrade scripts generationlaunchpad #1222116: [Gunicorn] option to preload databases1.7.4 (unreleased)launchpad #1246822: restored the ordering of addons_path as it was
in 1.7.0 (main addons first).1.7.3 (2013-10-17)Fixed the licence insetup.pyand hence on PyPI page. The ZPL
indicated was contradictory with what is stated on Launchpad’s
project page, and plain non applicable, since the recipedoesimport
from OpenERP.launchpad #1232806: custom interpreter and openerp_scripts now work
with OpenERP 6.1launchpad #1233606: [bzr] lightweight checkout now respects –offline1.7.2 (2013-09-29)launchpad #1232724: [gunicorn] properly switching openerp to
multi-process modeSAAS versions now recognized, and treated as X.5launchpad #1228997: [v5] in some cases, start_openerp –stop-after-init was
not honoured.launchpad #1222562: [git] error in extract-downloads-to1.7.1 (2013-09-07)launchpad #1215838: don’t freeze develop / gp.vcsdevelop distributionslaunchpad #1213469: openerp scripts: support for entry point
argumentslaunchpad #1215833: preserve regular develops in extract-downloads-tolaunchpad #1215873: [git] re-buildout with revision fixed versions crasheslaunchpad #1217816: [bzr] proper update of lightweight checkoutslaunchpad #1203550: [v8] using the openerpcommand that comes now bundled
with openobject-serverlaunchpad MP #182002: new ‘etc-directory’ option (default behaviour
unchanged).launchpad #1208028: wrong error message in case of distribution
version conflictlaunchpad #1216498: fixed python interpreter extra pathslaunchpad #1216835: [bzr] mispelling in ‘lightweight-checkout’ optionlaunchpad #1205063: no more error if no addons are specified (might
lead to problems with the default config, though, because of server
wide modules, but that’s supposed to be overridable)1.7.0 (2013-07-26)launchpad #1189160: easy integration of general purpose unit test launcherslaunchpad #1201715: allow easily working in a virtualenv with extra-requires
on bzr (allows easily to work with zc.buildout 2.2 on systems providing
setuptools < 0.7 / distribute)launchpad #1202150: [git] proper support for remote brancheslaunchpad #1200449: new flexibleopenerp_scripts; general refactor of
script generation code.launchpad #1203005: vcs options not passed through (addons and main software)[bzr] support for lightweight checkout, with uniform ‘bzr-init’ optionlaunchpad #1204573: [bzr] retry in two steps for some bzr branching
cases where it fails to branch directly to wished revision.launchpad #1128146: new option infreeze-toto disallow picked
versions, stopping not freezing of distribute.introducedvcs.base.CloneErrorwith wrappers forcheck_callandcheck_output.1.6.4 (2013-07-14)launchpad #1200198: hg: determination whether rev spec is fixed could be wronglaunchpad #1194887: ‘clean’ option for git and hg now use the native solution1.6.3 (2013-06-23)launchpad #1192973: ‘clean’ option now based on bzr clean-tree (more
powerful, and avoids in particular removing empty dirs, which is a local
modification that prevents later on freezing)1.6.2 (2013-06-15)launchpad #1189402: order of the addons_path is now deterministiclaunchpad #1189162: registry helping avoid double evaluaton of
custom addons models (helps launching unittest2 tests directly)launchpad #1191279: first implementation of new ‘clean’ option,
dealing with python object files only.1.6.1 (2013-06-06)launchpad #1188402: fixed git clone init on a precise revision1.6.0 (2013-05-30)launchpad #1183005: python interpreter that can bootstrap OpenERP
and open a database for interactive session or to launch a script.launchpad #1182589: avoid IOError if a bzr branch has no branch.conflaunchpad #1185097, #1185100, #1185101, #1185741: advanced support
for Git (precise revision, freeze, extract) allows including Git
repositories in a full release process for tarball deployments.1.5.5 (2013-05-20)launchpad #1182146: clearer user feedback and exit status code = 17
for freeze-to in case of local modifications of VCS server or addons.1.5.4 (2013-05-14)launchpad #1169124: regression: offline mode not honoured with bzr1.5.3 (2013-04-11)launchpad #1166788: regression with bzr “revid:” revision specifications1.5.2 (2013-04-06)launchpad #1154719: freeze-to does not take the correct bzr revision numberlaunchpad #1133248: “need more than 1 value to unpack” if some bzr’s
branch.conf has extra content not in the key = value formsupport for bzr stacked branches for the server branch in the same
way as was already done in addons.launchpad #1152808: corrected parsing of options.log_handler in
gunicorn setups (introduced a constant to treat comma-separated list
options in gunicorn conf)launchpad #1153036: avoid pulls in case the specified revision is
a fixed one that we already have (bzr and hg only)launchpad #1115504: extract-downloads-to now works with bzr version
shipping with Debian squeeze1.5.1 (27-02-2013)launchpad #1130590: errors with inline comments such as freeze-to produces1.5.0 (14-02-2013)works with zc.buildout 2.0launchpad #1115503: now it’s possible to applyextract-downloads-tofor a buildout configuration that uses therevisionsoption: the
produced configuration resetsrevisionsif needed.launchpad #1122015: soft requirements problem if offline on zc.buildout 2.0quality: now entirely flake8 compliant1.4 (16-01-2013)launchpad #1093771: extraction feature of downloaded code (notably vcs)launchpad #1068360: new ‘revisions’ option to fix VCS revisions separatelylaunchpad #1093474: freeze feature of revisions and versions of
python distributionslaunchpad #1084535: finer behaviour ofwith_devtoolsoption:
load testing hacks only in tests launcher scriptlaunchpad #1095645: missing devtools loading in openerp-command
scriptslaunchpad #1096472: forbid standalone (single) local addons. A local
addon must always be a directory that has addons inside.launchpad #1096472: trailing slash in a standalone addon directory name
led to error.1.3 (21-11-2012)launchpad #1077048: fix gunicorn startup script for OpenERP 7launchpad #1079819: take into account newly introduced hard
dependency to PIL in OpenERP 7launchpad #1055466: refactor version logic by providing major
version tuple for comparisons.launchpad #1081039: introduced soft requirements and made
openerp-command one of these.1.2.2 (11-11-2012)Nothing but fix of changelog RST1.2.1 (08-11-2012)Fixed an error in user feedback if openerp-command package is missing but
needed1.2 (07-11-2012)launchpad #1073917: separated test command (bin/test_openerp)launchpad #1073127: support for openerp-commandmajor improvement of test coverage in server recipeincluded buildout configurations for buildbotting of the recipe in source
distribution1.1.5 (14-10-2012)Improved documentation (bootstrap and sample buildouts)Re-enabled support for trunk nightly (and maybe 7.0 final)fixed a packaging problem with openerp-cron-worker in 1.1.41.1.3 (26-09-2012)launchpad #1041231: Resilience to changes of bzr locationslaunchpad #1049519: openerp-cron-worker startup scriptlaunchpad #1025144: By default, admin passwd is now disabledlaunchpad #1054667: Problem with current dev nightlies for OpenERP 6.2fixed a packaging problem with openerp-cron-worker in 1.1.21.0.3 (24-08-2012)no actual difference with 1.0 (only changelogs and the like)1.0 (24-08-2012)launchpad #1040011: works with current OpenERP trunk (future 7.0)launchpad #1027994: ‘base_url’ option, to download from mirrorslaunchpad #1035978: restored ‘local’ version scheme for OpenERP
itself. Also implemented the ‘url’ version scheme.removed deprecated renaming of 6.1 to 6.1-1Refactored the documentation0.17 (07-08-2012)launchpad #1033525: startup_delay optionlaunchpad #1019888: Gunicorn integration.launchpad #1019886: installation of ‘openerp’ as a develop distribution, and
full python server startup script.launchpad #1025617: Support for nightly versions in 6.1 serieslaunchpad #1025620: Support for latest versionlaunchpad #1034124: Fix interference of buildout options with
gtkclient recipelaunchpad #1021083: optional development tools loading in startup scriptlaunchpad #1020967: stop creating scripts by defaultlaunchpad #1027986: Better handling of interrupted downloads0.16 (29-06-2012)launchapd #1017252: relying on Pillow to provide PIL unless PIL is
explicitely wanted.launchpad #1014066: lifted the prerequirement for Babel. Now the recipe
installs it if needed before inspection of OpenERP’s setup.py0.15 (14-06-2012)launchpad #1008931: Mercurial pull don’t take URL changes into
account. Now the recipe manages the repo-local hgrc [paths]
section, updates the default paths while storing earlier valueslaunchpad #1012899: Update problems with standalone vcs addonslaunchpad #1005509: Now bzr branches are stacked only ifbzr-stacked-branchesoption is set toTrue.0.14.1 (17-05-2012)launchpad #1000352: fixed a concrete problem in Bzr reraising0.14 (17-05-2012)launchpad #1000352: option vcs-clear-retry to retrieve from scratch in case
of diverged Bzr branches. Raising UpdateError in right place would trigger
the same for other VCSes.Basic tests for Git and SvnRefactor with classes of VCS package0.13.1 (14-05-2012)launchpad #997107: fixed vcs-clear-locks option for bzr, that
requires a user confirmation that cannot be bypassed in older versions0.13 (14-05-2012)launchpad #998404: more robust calls to hg and bzr (w/ unit tests),
and have exception raised if vcs call failed (break early, break
often).launchpad #997107: vcs-clear-locks option (currently interpreted by
Bzr only)0.12 (02-05-2012)launchpad #993362: addons subdir option, and made repositories being
one addon usable by creating an intermediate directory.0.11 (18-04-2012)Faster tarball inspection (see lp issue #984237)Shared downloads and more generally configurable downloads
directory, seehttps://blueprints.launchpad.net/anybox.recipe.openerp/+spec/shared-downloads0.10 (02-04-2012)fixed the sample buildouts in the readme file0.9 (23-03-2012)Clean-up and refactoringRemovedurloption (download url supported throughversion)Support OpenERP 6.1 and 6.0Added an ‘addons’ option allowing remote repositories and local directoriesImproved error messagesUpdated the documentationHandle bad Babel import in setup.pySupport offline mode of buildoutCreate gtk client config without starting it0.8 (20-12-2011)handle deploying custom bzr branches0.7 (14-09-2011)handle new sections in openerp config0.6 (11-09-2011)Overwrite config files each timeMake the “dsextras” error more explicit (install PyGObject and PyGTK)fixed some depsimproved the doc0.5 (10-08-2011)Use dotted notation to add openerp options in the generated configs0.4 (09-08-2011)Added support for the web client and gtk client0.3 (08-08-2011)fixed config file creation0.2 (08-08-2011)Pass the trailing args to the startup script of the server0.1 (07-08-2011)Initial implementation for the OpenERP server only