{ "info": { "author": "LasLabs, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python" ], "description": ".. image:: https://img.shields.io/badge/license-LGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/lgpl.html\n :alt: License: LGPL-3\n\n======================\nBase - External System\n======================\n\nThis module provides an interface/adapter mechanism for the definition of remote\nsystems.\n\nNote that this module stores everything in plain text. In the interest of security,\nit is recommended you use another module (such as `keychain` or `red_october` to\nencrypt things like the password and private key). This is not done here in order\nto not force a specific security method.\n\nImplementation\n==============\n\nThe credentials for systems are stored in the ``external.system`` model, and are to\nbe configured by the user. This model is the unified interface for the underlying\nadapters.\n\nUsing the Interface\n-------------------\n\nGiven an ``external.system`` singleton called ``external_system``, you would do the\nfollowing to get the underlying system client:\n\n.. code-block:: python\n\n with external_system.client() as client:\n client.do_something()\n\nThe client will be destroyed once the context has completed. Destruction takes place\nin the adapter's ``external_destroy_client`` method.\n\nThe only unified aspect of this interface is the client connection itself. Other more\nopinionated interface/adapter mechanisms can be implemented in other modules, such as\nthe file system interface in `OCA/server-tools/external_file_location\n`_.\n\nCreating an Adapter\n-------------------\n\nModules looking to add an external system adapter should inherit the\n``external.system.adapter`` model and override the following methods:\n\n* ``external_get_client``: Returns a usable client for the system\n* ``external_destroy_client``: Destroy the connection, if applicable. Does not need\n to be defined if the connection destroys itself.\n\nConfiguration\n=============\n\nConfigure external systems in Settings => Technical => External Systems\n\n.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas\n :alt: Try me on Runbot\n :target: https://runbot.odoo-community.org/runbot/149/11.0\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smash it by providing detailed and welcomed feedback.\n\nCredits\n=======\n\nImages\n------\n\n* Odoo Community Association: `Icon `_.\n\nContributors\n------------\n\n* Dave Lasley \n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nTo contribute to this module, please visit https://odoo-community.org.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://laslabs.com/", "keywords": "", "license": "LGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo11-addon-base-external-system", "package_url": "https://pypi.org/project/odoo11-addon-base-external-system/", "platform": "", "project_url": "https://pypi.org/project/odoo11-addon-base-external-system/", "project_urls": { "Homepage": "https://laslabs.com/" }, "release_url": "https://pypi.org/project/odoo11-addon-base-external-system/11.0.1.0.0/", "requires_dist": [ "odoo (<11.1dev,>=11.0a)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "Data models allowing for connection to external systems.", "version": "11.0.1.0.0" }, "last_serial": 4225064, "releases": { "11.0.1.0.0": [ { "comment_text": "", "digests": { "md5": "88464a408223317e11f033cc728a5258", "sha256": "8944e8fe5946804e157198a0930137db675adc1c93ecb422c620185709e41184" }, "downloads": -1, "filename": "odoo11_addon_base_external_system-11.0.1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "88464a408223317e11f033cc728a5258", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 26768, "upload_time": "2018-06-29T04:48:19", "url": "https://files.pythonhosted.org/packages/52/60/2ae427c07d7f110c5383edbd3d68a2786a238d25d2220e67caf8a8fd3099/odoo11_addon_base_external_system-11.0.1.0.0-py2.py3-none-any.whl" } ], "11.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "e9d0312e61f98ae3b42a9d1e3d6e6d45", "sha256": "d38d5c369453738452ca9512a423bfc8b060a9af7813988db759913e9a1e9d6f" }, "downloads": -1, "filename": "odoo11_addon_base_external_system-11.0.1.0.0.99.dev1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e9d0312e61f98ae3b42a9d1e3d6e6d45", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 26177, "upload_time": "2018-08-31T04:48:41", "url": "https://files.pythonhosted.org/packages/94/7b/9d713df285776d580a5993d85f8acfe446d097841b666f9fd489f503e33e/odoo11_addon_base_external_system-11.0.1.0.0.99.dev1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "88464a408223317e11f033cc728a5258", "sha256": "8944e8fe5946804e157198a0930137db675adc1c93ecb422c620185709e41184" }, "downloads": -1, "filename": "odoo11_addon_base_external_system-11.0.1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "88464a408223317e11f033cc728a5258", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 26768, "upload_time": "2018-06-29T04:48:19", "url": "https://files.pythonhosted.org/packages/52/60/2ae427c07d7f110c5383edbd3d68a2786a238d25d2220e67caf8a8fd3099/odoo11_addon_base_external_system-11.0.1.0.0-py2.py3-none-any.whl" } ] }