{ "info": { "author": "Cristian S. Rocha", "author_email": "csr@moldeo.coop", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: Unix", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Build Tools" ], "description": "# odooenv\nTool to administrate Odoo environments\n\nMoldeo Interactive (c) 2014-2018\n Cristian S. Rocha\n csr@moldeo.coop\n\nThis code is distributed under the MIT license.\n\n## Introduction\n\nOdooEnv is a python based environment manager. It is a derivative from OERPenv which exists in \"https://launchpad.net/oerpenv\". But when OpenERP was renamed to Odoo, we changed the OERPEnv to OdooEnv. We also changed the source repository, changing it from launchpad to github.\n\n## Installation\n\nUsing PIP installer (pip needs to be installed)\n\n```\n pip install odooenv\n```\n\n## Usage:\n\nThe odooenv command line is available with the following sub-commands:\n\n\n```\n\tusage: odooenv [-h]\n\t\t \n\t\t {init,update,create,add,install,list-installables,list-addons,enable,disable,dummy,test,client,search,show}\n\t\t ...\n\n\toptional arguments:\n\t -h, --help shows this help message and exits\n\n\tsubcommands:\n\t The Odoo environment administrator helps you administrate Odoo\n\t environments. You can use the following commands.\n\n\t {init,update,create,add,install,list-installables,list-addons,enable,disable,dummy,test,client,search,show}\n\t\t\t\tcommands\n\t init Initializes an environment in the work path or in the\n\t\t\t\tdeclared path.\n\t update Updates sources.\n\t create Creates a new python environment.\n\t add Adds a branch to the sources list.\n\t install Installs all the required software in the default environment. The packages to be installed need to be declared \n\t\t\t\tin the environment file. \n\t list-installables Lists all available applications in sources.\n\t list-addons Lists available addons in sources. Shows all addons if\n\t\t\t\tnot filter expression declared.\n\t enable Enables addons on the environment. Creates a symbolic\n\t\t\t\tlink.\n\t disable Disables addons on the environment. Removes a symbolic\n\t\t\t\tlink.\n\t dummy Creates a dummy addon. Useful for creating a new addon from scratch.\n\t test Executes the server in test mode for this addon.\n\t client Executes the server in test mode for this addon.\n\t search Searchs addon with this object.\n\t show Shows addon information.\n```\n \n\nAll configurations are stored in the environment.conf file. You can setup it by hand or by using the available commands listed above.\n\n## Testing a module:\n\nTo create a simple Odoo instance you need to run the following commands in your work directory.\n\n```\n$ odooenv init odoo_env\n$ cd odoo_env\n$ odooenv install\n$ odooenv list-addons\n```\n\nSearch for an addon to test, like hr_attendance\n\n```\n$ odooenv enable hr_attendance\n$ odooenv test hr_attendance\n```\n\nIn case you want to run the server, you only need to execute:\n\n```\n$ odooenv server-start --debug\n```\n\nThe server should be running and you can start working with Odoo by launching your browser and pointing it to the appropiate port (commonly 8069)\n\n## Develop a new addon not from zero:\n\nIf you need test more than one module, or you want develop a new addon you can create a dummy addon in the following way:\n\n```\n$ odooenv dummy hr_test\n```\n\nIn the output you can find the source path. There you can found the __openerp__.py file. Append the modules you want to test in the 'depends' field, in this example will use hr_attendace and hr_contract. If you done all right you can execute the follwing command without errors:\n\n```\n$ odooenv enable hr_test\n```\n\nThen you can execute the server in mode test again, for the new module.\n\n```\n$ odooenv test hr_test\n```\n\n# Searching for an object in source code:\n\nTo search the source code of a code you can use the command 'search'.\n\n# Display addon information:\n\nTo show addon information, like description, declarated objects and path to the source you can use the command 'show'.\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/csrocha/odooenv/tarball/v2.2.3", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/csrocha/odooenv", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "odooenv", "package_url": "https://pypi.org/project/odooenv/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/odooenv/", "project_urls": { "Download": "https://github.com/csrocha/odooenv/tarball/v2.2.3", "Homepage": "https://github.com/csrocha/odooenv" }, "release_url": "https://pypi.org/project/odooenv/2.2.14/", "requires_dist": null, "requires_python": null, "summary": "Odoo Environment Manager", "version": "2.2.14" }, "last_serial": 2143334, "releases": { "2.0.11": [ { "comment_text": "", "digests": { "md5": "6cbb977b1281f12132dea3e5fd83ade7", "sha256": "ef44a18c7c566f56a0ed89665b3ea2b1bc7cd65efbe9866fb15c2ff9db924764" }, "downloads": -1, "filename": "odooenv-2.0.11.tar.gz", "has_sig": false, "md5_digest": "6cbb977b1281f12132dea3e5fd83ade7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21386, "upload_time": "2014-08-25T13:02:45", "url": "https://files.pythonhosted.org/packages/d4/99/02f4f6a78dee8040deaddc98222da5b176c964c2476dcba9e2c292c40f97/odooenv-2.0.11.tar.gz" } ], "2.1.3": [ { "comment_text": "", "digests": { "md5": "1f3149b20a94f7eabfea15ed1ca9f4e1", "sha256": "b4672cb2a69de924458ebebbd778341eee739d3675de38e0f23e78074b40d522" }, "downloads": -1, "filename": "odooenv-2.1.3.tar.gz", "has_sig": false, "md5_digest": "1f3149b20a94f7eabfea15ed1ca9f4e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21941, "upload_time": "2014-12-28T15:25:39", "url": "https://files.pythonhosted.org/packages/1a/6d/c02c20cdc4f4b9dd7f2c7b16f83292ae5d4dc3caf296134a7d6a565bc451/odooenv-2.1.3.tar.gz" } ], "2.2.10": [ { "comment_text": "", "digests": { "md5": "1ea53f9d0a778e238bc36531c12701eb", "sha256": "c83406b252691d727c97355cf313fad1e11fb3e69b17f2af765c9f498655bb8b" }, "downloads": -1, "filename": "odooenv-2.2.10.tar.gz", "has_sig": false, "md5_digest": "1ea53f9d0a778e238bc36531c12701eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25020, "upload_time": "2015-11-10T12:16:57", "url": "https://files.pythonhosted.org/packages/b6/ba/df188cd9a84ff061d90f0679a706cbf967c5e819879661b0b2e084762692/odooenv-2.2.10.tar.gz" } ], "2.2.11": [ { "comment_text": "", "digests": { "md5": "8744f91347cc6cc2adacfe300746c6bf", "sha256": "6c22875fc01b80e08d286bf4661ee86af66a6c05ead20e10aecc98e83b40a097" }, "downloads": -1, "filename": "odooenv-2.2.11.tar.gz", "has_sig": false, "md5_digest": "8744f91347cc6cc2adacfe300746c6bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25723, "upload_time": "2015-11-14T21:19:19", "url": "https://files.pythonhosted.org/packages/bf/1d/7dc16d3c164a55f8eaeac6b71f09811d5bfb7cc1ab7d0d1983928f8cd414/odooenv-2.2.11.tar.gz" } ], "2.2.12": [ { "comment_text": "", "digests": { "md5": "5b18dac4abb298c4b05aa2bb50ac903d", "sha256": "8d4997362f88576c68c1b3c1d8596a808aa9422730426d582efb2fcb5c71897c" }, "downloads": -1, "filename": "odooenv-2.2.12.tar.gz", "has_sig": false, "md5_digest": "5b18dac4abb298c4b05aa2bb50ac903d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26013, "upload_time": "2015-11-15T20:07:25", "url": "https://files.pythonhosted.org/packages/da/19/6a10426dfc6b7687eebb47890624a323e26325bee3832f0185d87d6232ae/odooenv-2.2.12.tar.gz" } ], "2.2.13": [ { "comment_text": "", "digests": { "md5": "592bd99c803cb169b0f33905a95b24d3", "sha256": "cb831549e76c818fc54f1e9a8b12278e26d42d92bed14ff261c0b354adbe95e0" }, "downloads": -1, "filename": "odooenv-2.2.13.tar.gz", "has_sig": false, "md5_digest": "592bd99c803cb169b0f33905a95b24d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25917, "upload_time": "2016-02-10T16:28:28", "url": "https://files.pythonhosted.org/packages/6a/aa/3ee2d9f040aacc4d1bf52a8b4a74adeab93de746de5febda6746a46d06fa/odooenv-2.2.13.tar.gz" } ], "2.2.14": [ { "comment_text": "", "digests": { "md5": "a7a636ecd59206f283e8840241915729", "sha256": "917a325e693085c78b6a2fcc15956bea32ca61baf49c4a4f4c1348f0743de9f1" }, "downloads": -1, "filename": "odooenv-2.2.14.tar.gz", "has_sig": false, "md5_digest": "a7a636ecd59206f283e8840241915729", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29145, "upload_time": "2016-05-31T20:27:21", "url": "https://files.pythonhosted.org/packages/70/e6/4be32c27d1cc56618e50413f3377687a4264e6dcfc16bf49aa8b3674a5f7/odooenv-2.2.14.tar.gz" } ], "2.2.8": [ { "comment_text": "", "digests": { "md5": "14b5b41609c0e2ac8f9a3d802c23e8ed", "sha256": "cb6e0ae3e8cb8ef07e28ddd3540073e232e9534499b950dec186e6185bda09b0" }, "downloads": -1, "filename": "odooenv-2.2.8.tar.gz", "has_sig": false, "md5_digest": "14b5b41609c0e2ac8f9a3d802c23e8ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24799, "upload_time": "2015-11-06T14:10:52", "url": "https://files.pythonhosted.org/packages/c0/68/42a1c9769c7e8e2e465787629a9fb0a800361208bb36fa34be81e94266b3/odooenv-2.2.8.tar.gz" } ], "2.2.9": [ { "comment_text": "", "digests": { "md5": "456c495ddbc077803fa2d04103eb08e1", "sha256": "8d01e170f3855827d64dbdaf62cb603aa493bdfe074e15faa6e54b24504af175" }, "downloads": -1, "filename": "odooenv-2.2.9.tar.gz", "has_sig": false, "md5_digest": "456c495ddbc077803fa2d04103eb08e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24867, "upload_time": "2015-11-06T15:13:14", "url": "https://files.pythonhosted.org/packages/46/c6/8f0add7a9746da16627df4146be14b31da61ef6ceffc2c60a06cce090c0f/odooenv-2.2.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a7a636ecd59206f283e8840241915729", "sha256": "917a325e693085c78b6a2fcc15956bea32ca61baf49c4a4f4c1348f0743de9f1" }, "downloads": -1, "filename": "odooenv-2.2.14.tar.gz", "has_sig": false, "md5_digest": "a7a636ecd59206f283e8840241915729", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29145, "upload_time": "2016-05-31T20:27:21", "url": "https://files.pythonhosted.org/packages/70/e6/4be32c27d1cc56618e50413f3377687a4264e6dcfc16bf49aa8b3674a5f7/odooenv-2.2.14.tar.gz" } ] }