{ "info": { "author": "Therp BV,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.svg\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n\n================\nOnchange actions\n================\n\nThis module allows you to return an action (``ir.actions.*``) from an onchange handler.\n\nThis way, you can have much more elaborate message boxes or simply show a whole wizard or do whatever else is possible with actions on the client side.\n\nUsage\n=====\n\nDepend on this module and in your onchange handler, add a key ``action`` to the ``warning`` dictionary of the result which contains the definition of an action to execute:\n\n.. code:: python\n\n {\n 'value': ....,\n 'domain': ....,\n 'warning': {\n 'title': 'This will be shown if this module is not available',\n 'message': 'Fallback message, see above',\n # this module picks up this key and shows it *instead* of the\n # warning above\n 'action': {\n 'type': 'ir.actions.act_window',\n 'res_model': 'my.wizard',\n ...\n },\n }\n\nThe module ``web_ir_actions_act_window_message`` can be quite helpful here.\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/162/8.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 smashing it by providing a detailed and welcomed feedback.\n\nCredits\n=======\n\nImages\n------\n\n* Odoo Community Association: `Icon `_.\n\nContributors\n------------\n\n* Holger Brunn \n\nDo not contact contributors directly about help with questions or problems concerning this addon, but use the `community mailing list `_ or the `appropriate specialized mailinglist `_ for help, and the bug tracker linked in `Bug Tracker`_ above for technical issues.\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": "", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo8-addon-web-onchange-action", "package_url": "https://pypi.org/project/odoo8-addon-web-onchange-action/", "platform": "", "project_url": "https://pypi.org/project/odoo8-addon-web-onchange-action/", "project_urls": null, "release_url": "https://pypi.org/project/odoo8-addon-web-onchange-action/8.0.1.0.0.99.dev2/", "requires_dist": [ "odoo (<9.0a,>=8.0a)" ], "requires_python": "~=2.7", "summary": "Run actions from onchange handlers", "version": "8.0.1.0.0.99.dev2" }, "last_serial": 3996247, "releases": { "8.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "dcbef2648144a9d9afecb96c864d1be7", "sha256": "21b7eeed1866d0ae6c9480bca2bf342dba973b2591e4f2bd60420a50e4e628ad" }, "downloads": -1, "filename": "odoo8_addon_web_onchange_action-8.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "dcbef2648144a9d9afecb96c864d1be7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 18933, "upload_time": "2018-01-17T05:35:51", "url": "https://files.pythonhosted.org/packages/f2/98/2495b070edf30e9d7b6b90888025039706504b4012fbf7c585bb0efc11f6/odoo8_addon_web_onchange_action-8.0.1.0.0.99.dev1-py2-none-any.whl" } ], "8.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "1fb917f65ea2cfaf06fe201affc47822", "sha256": "ea66e25f97816a49a995c17e08eede48b3a1f92d7b23d7b6c0da579ae7cb7116" }, "downloads": -1, "filename": "odoo8_addon_web_onchange_action-8.0.1.0.0.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "1fb917f65ea2cfaf06fe201affc47822", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 19398, "upload_time": "2018-06-24T05:25:03", "url": "https://files.pythonhosted.org/packages/f0/3f/1e607a2ec1e8f22a693359af335f1abf68eba3c001a5ba6475f3fcb8243f/odoo8_addon_web_onchange_action-8.0.1.0.0.99.dev2-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1fb917f65ea2cfaf06fe201affc47822", "sha256": "ea66e25f97816a49a995c17e08eede48b3a1f92d7b23d7b6c0da579ae7cb7116" }, "downloads": -1, "filename": "odoo8_addon_web_onchange_action-8.0.1.0.0.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "1fb917f65ea2cfaf06fe201affc47822", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 19398, "upload_time": "2018-06-24T05:25:03", "url": "https://files.pythonhosted.org/packages/f0/3f/1e607a2ec1e8f22a693359af335f1abf68eba3c001a5ba6475f3fcb8243f/odoo8_addon_web_onchange_action-8.0.1.0.0.99.dev2-py2-none-any.whl" } ] }