{ "info": { "author": "ACSONE SA/NV, 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/licence-AGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n\n================\nRead Only ByPass\n================\n\nThis module provides a solution to the problem of the interaction between\n'readonly' attribute and 'on_change' attribute when used together. It allows\nsaving onchange modifications to readonly fields.\n\nBehavior: add readonly fields changed by `on_change` methods to the values\npassed to write or create. If `readonly_by_pass` is in the context and\nTrue then it will by pass readonly fields and save its data provide by onchange\nmethod.\n\nUsage\n=====\n\nThis module changes the behaviour of Odoo by propagating\non_change modifications to readonly fields to the backend create and write\nmethods.\n\nTo change that behavior you have to set context on ``ir.actions.act_window``::\n\n \n {'readonly_by_pass': True}\n \n\nor by telling fields allowed to change::\n\n \n \n {'readonly_by_pass': ['readonly_field_1', 'readonly_field_2',]}\n \n \n\nOn one2many fields, you can also pass the context in the field definition:\n\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/162/10.0\n\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues `_.\nIn case of trouble, please check there if your issue has already been reported.\nIf you spotted it first, help us smashing it by providing a detailed and welcomed feedback.\n\n\nCredits\n=======\n\nContributors\n------------\n\n* Jonathan Nemry \n* Laetitia Gangloff \n* Pierre Verkest \n* Kalpana Hemnani \n* Agathe Moll\u00e9 \n* Simone Orsi \n\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 http://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": "http://www.acsone.eu", "keywords": "", "license": "LGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo10-addon-web-readonly-bypass", "package_url": "https://pypi.org/project/odoo10-addon-web-readonly-bypass/", "platform": "", "project_url": "https://pypi.org/project/odoo10-addon-web-readonly-bypass/", "project_urls": { "Homepage": "http://www.acsone.eu" }, "release_url": "https://pypi.org/project/odoo10-addon-web-readonly-bypass/10.0.1.0.1.99.dev4/", "requires_dist": [ "odoo (<10.1dev,>=10.0)" ], "requires_python": "~=2.7", "summary": "Allow to save onchange modifications to readonly fields", "version": "10.0.1.0.1.99.dev4" }, "last_serial": 5083475, "releases": { "10.0.1.0.1.99.dev2": [ { "comment_text": "", "digests": { "md5": "63b0c891e0990d2c1f173637fa31171c", "sha256": "603fe2097cc0337389ff1462c2a7d73c8bd287c47c5d416ef4aa8bbf1a9f3d26" }, "downloads": -1, "filename": "odoo10_addon_web_readonly_bypass-10.0.1.0.1.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "63b0c891e0990d2c1f173637fa31171c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 11555, "upload_time": "2017-10-17T04:30:17", "url": "https://files.pythonhosted.org/packages/11/d5/7687013b59f4f2bd11b0c32146fc02c7912969b894af5767244db9f666d7/odoo10_addon_web_readonly_bypass-10.0.1.0.1.99.dev2-py2-none-any.whl" } ], "10.0.1.0.1.99.dev3": [ { "comment_text": "", "digests": { "md5": "7ca743854c0a680dcfe8caa17e3e2222", "sha256": "d24451cc05dbac3c4245610afce53a236a3a99bd5b920ccc3488c9b8bb02f1ad" }, "downloads": -1, "filename": "odoo10_addon_web_readonly_bypass-10.0.1.0.1.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "7ca743854c0a680dcfe8caa17e3e2222", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 12024, "upload_time": "2018-06-24T04:51:21", "url": "https://files.pythonhosted.org/packages/2e/8d/c9dfa8f4c1241b9712934ebf8d02e981c7e6319a11df038be4628d7126ea/odoo10_addon_web_readonly_bypass-10.0.1.0.1.99.dev3-py2-none-any.whl" } ], "10.0.1.0.1.99.dev4": [ { "comment_text": "", "digests": { "md5": "444d3434687f67ddc7135e5c42b90d8a", "sha256": "2d4a7970754d23dfc1b444e72315ab9746175b9f2d84c11ba778a30ad20fe044" }, "downloads": -1, "filename": "odoo10_addon_web_readonly_bypass-10.0.1.0.1.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "444d3434687f67ddc7135e5c42b90d8a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 19367, "upload_time": "2019-04-03T05:07:01", "url": "https://files.pythonhosted.org/packages/34/60/d49d32e2d3fd5f84e65f1e0984b7d078784bfd8df01d6631423ed4e5d343/odoo10_addon_web_readonly_bypass-10.0.1.0.1.99.dev4-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "444d3434687f67ddc7135e5c42b90d8a", "sha256": "2d4a7970754d23dfc1b444e72315ab9746175b9f2d84c11ba778a30ad20fe044" }, "downloads": -1, "filename": "odoo10_addon_web_readonly_bypass-10.0.1.0.1.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "444d3434687f67ddc7135e5c42b90d8a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 19367, "upload_time": "2019-04-03T05:07:01", "url": "https://files.pythonhosted.org/packages/34/60/d49d32e2d3fd5f84e65f1e0984b7d078784bfd8df01d6631423ed4e5d343/odoo10_addon_web_readonly_bypass-10.0.1.0.1.99.dev4-py2-none-any.whl" } ] }