{ "info": { "author": "GRAP,Akretion,Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python" ], "description": ".. image:: https://img.shields.io/badge/licence-AGPL--3-blue.png\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n\n=====================================\nAbstract Model to manage SQL Requests\n=====================================\n\nThis module provides an abstract model to manage SQL Select requests on database.\nIt is not usefull for itself. You can see an exemple of implementation in the\n'sql_export' module. (same repository).\n\nImplemented features\n--------------------\n\n* Add some restrictions in the sql request:\n * you can only read datas. No update, deletion or creation are possible.\n * some tables are not allowed, because they could contains clear password\n or keys. For the time being ('ir_config_parameter').\n\n* The request can be in a 'draft' or a 'SQL Valid' status. To be valid,\n the request has to be cleaned, checked and tested. All of this operations\n can be disabled in the inherited modules.\n\n* This module two new groups:\n * SQL Request / User : Can see all the sql requests by default and execute\n them, if they are valid.\n * SQL Request / Manager : has full access on sql requests.\n\nUsage\n=====\n\nInherit the model:\n\n from openerp import models\n\n class MyModel(models.model)\n _name = 'my.model'\n _inherit = ['sql.request.mixin']\n\n _sql_request_groups_relation = 'my_model_groups_rel'\n\n _sql_request_users_relation = 'my_model_users_rel'\n\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* Florian da Costa \n* Sylvain LE GAL (https://twitter.com/legalsylvain)\n\nFunders\n-------\n\nThe development of this module has been financially supported by:\n\n* Akretion ()\n* GRAP, Groupement R\u00e9gional Alimentaire de Proximit\u00e9 ()\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://www.odoo-community.org", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo11-addon-sql-request-abstract", "package_url": "https://pypi.org/project/odoo11-addon-sql-request-abstract/", "platform": "", "project_url": "https://pypi.org/project/odoo11-addon-sql-request-abstract/", "project_urls": { "Homepage": "https://www.odoo-community.org" }, "release_url": "https://pypi.org/project/odoo11-addon-sql-request-abstract/11.0.1.0.1.99.dev2/", "requires_dist": [ "odoo (<11.1dev,>=11.0a)" ], "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "summary": "Abstract Model to manage SQL Requests", "version": "11.0.1.0.1.99.dev2" }, "last_serial": 4532653, "releases": { "11.0.1.0.1.99.dev1": [ { "comment_text": "", "digests": { "md5": "efc7c0cac9cd10eb62d5dfad96569610", "sha256": "14dae5edc9afe59e4ad906ade0453c5a22657f5b211e900729fcbaaff88ed787" }, "downloads": -1, "filename": "odoo11_addon_sql_request_abstract-11.0.1.0.1.99.dev1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "efc7c0cac9cd10eb62d5dfad96569610", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 109390, "upload_time": "2018-09-20T04:31:35", "url": "https://files.pythonhosted.org/packages/39/73/864e13af04e1f9b51db95415bc0755550643ec7087dc643fd65d8a4b37f4/odoo11_addon_sql_request_abstract-11.0.1.0.1.99.dev1-py2.py3-none-any.whl" } ], "11.0.1.0.1.99.dev2": [ { "comment_text": "", "digests": { "md5": "ea00dac8c7b444d84ab8ea6cc9f9f9cb", "sha256": "0cac97414736e3dfb07778f1d7146d9681c07c792e452b542b7d389cd99bbe64" }, "downloads": -1, "filename": "odoo11_addon_sql_request_abstract-11.0.1.0.1.99.dev2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ea00dac8c7b444d84ab8ea6cc9f9f9cb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 109388, "upload_time": "2018-11-27T05:31:52", "url": "https://files.pythonhosted.org/packages/1a/d7/be0d9183cddd6f241b136b498bec04ca639604f1db7171dbe957340d4a27/odoo11_addon_sql_request_abstract-11.0.1.0.1.99.dev2-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ea00dac8c7b444d84ab8ea6cc9f9f9cb", "sha256": "0cac97414736e3dfb07778f1d7146d9681c07c792e452b542b7d389cd99bbe64" }, "downloads": -1, "filename": "odoo11_addon_sql_request_abstract-11.0.1.0.1.99.dev2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ea00dac8c7b444d84ab8ea6cc9f9f9cb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 109388, "upload_time": "2018-11-27T05:31:52", "url": "https://files.pythonhosted.org/packages/1a/d7/be0d9183cddd6f241b136b498bec04ca639604f1db7171dbe957340d4a27/odoo11_addon_sql_request_abstract-11.0.1.0.1.99.dev2-py2.py3-none-any.whl" } ] }