{ "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 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================\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 ``ur.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/8.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`here `_.\n\n\nCredits\n=======\n\nContributors\n------------\n\n* Jonathan Nemry \n* Laetitia Gangloff \n* Pierre Verkest \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": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo8-addon-web-readonly-bypass", "package_url": "https://pypi.org/project/odoo8-addon-web-readonly-bypass/", "platform": "", "project_url": "https://pypi.org/project/odoo8-addon-web-readonly-bypass/", "project_urls": { "Homepage": "http://www.acsone.eu" }, "release_url": "https://pypi.org/project/odoo8-addon-web-readonly-bypass/8.0.1.0.1.99.dev4/", "requires_dist": [ "odoo (<9.0a,>=8.0a)" ], "requires_python": "~=2.7", "summary": "Allow to save onchange modifications to readonly fields", "version": "8.0.1.0.1.99.dev4" }, "last_serial": 5408687, "releases": { "8.0.1.0.1.99.dev1": [ { "comment_text": "", "digests": { "md5": "685e009dfe7fb7280499ce382af0944a", "sha256": "7623244d32b3603a1924ea8d3552dea17e73ae984608147452a9cd107a4d2a0f" }, "downloads": -1, "filename": "odoo8_addon_web_readonly_bypass-8.0.1.0.1.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "685e009dfe7fb7280499ce382af0944a", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 10810, "upload_time": "2017-04-11T16:56:17", "url": "https://files.pythonhosted.org/packages/cd/25/5dc9cd702c4e0f4d639df85828a8738b5340226fc4f3ce904c172da602f7/odoo8_addon_web_readonly_bypass-8.0.1.0.1.99.dev1-py2-none-any.whl" } ], "8.0.1.0.1.99.dev2": [ { "comment_text": "", "digests": { "md5": "e6d2e87f3eb3cda72eea066e26452e1b", "sha256": "30d82d6a041e2fd39374d4dff5900d78cd791dd2a1b590f93ffafeb84bd357ed" }, "downloads": -1, "filename": "odoo8_addon_web_readonly_bypass-8.0.1.0.1.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "e6d2e87f3eb3cda72eea066e26452e1b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 11426, "upload_time": "2018-06-24T05:23:55", "url": "https://files.pythonhosted.org/packages/85/dd/4fedcfd3a3eac966e515240822c8fb8c6a6401bba8c8aab4bc64977dd599/odoo8_addon_web_readonly_bypass-8.0.1.0.1.99.dev2-py2-none-any.whl" } ], "8.0.1.0.1.99.dev3": [ { "comment_text": "", "digests": { "md5": "d0ee02854f09b88dd18d186b2bc2c42c", "sha256": "e104491cfe41fe712d904478ad31dc95d38974daceee783635458f820b9c18ad" }, "downloads": -1, "filename": "odoo8_addon_web_readonly_bypass-8.0.1.0.1.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "d0ee02854f09b88dd18d186b2bc2c42c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 18827, "upload_time": "2019-04-03T06:04:43", "url": "https://files.pythonhosted.org/packages/74/62/91e95d1772bcf814fdd596bc986ca36d988c2a396df802f5047199d977a2/odoo8_addon_web_readonly_bypass-8.0.1.0.1.99.dev3-py2-none-any.whl" } ], "8.0.1.0.1.99.dev4": [ { "comment_text": "", "digests": { "md5": "52577f91700ce67f367ffc56791bfe4f", "sha256": "91817ecb8a486c38789f0b483703c8f76d08e477c29c72adb7c77a7f3deebdff" }, "downloads": -1, "filename": "odoo8_addon_web_readonly_bypass-8.0.1.0.1.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "52577f91700ce67f367ffc56791bfe4f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 18880, "upload_time": "2019-06-17T05:15:45", "url": "https://files.pythonhosted.org/packages/95/fb/2c0e93c91577f22d6c85ff30391ca7c093b4e8a07fe57488d0db6ad61c72/odoo8_addon_web_readonly_bypass-8.0.1.0.1.99.dev4-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "52577f91700ce67f367ffc56791bfe4f", "sha256": "91817ecb8a486c38789f0b483703c8f76d08e477c29c72adb7c77a7f3deebdff" }, "downloads": -1, "filename": "odoo8_addon_web_readonly_bypass-8.0.1.0.1.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "52577f91700ce67f367ffc56791bfe4f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 18880, "upload_time": "2019-06-17T05:15:45", "url": "https://files.pythonhosted.org/packages/95/fb/2c0e93c91577f22d6c85ff30391ca7c093b4e8a07fe57488d0db6ad61c72/odoo8_addon_web_readonly_bypass-8.0.1.0.1.99.dev4-py2-none-any.whl" } ] }