mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG][10.0] web_readonly_bypass
This commit is contained in:
committed by
Simone Orsi
parent
1edb170bf4
commit
112290d9b1
@@ -22,7 +22,7 @@ This module changes the behaviour of Odoo by propagating
|
||||
on_change modifications to readonly fields to the backend create and write
|
||||
methods.
|
||||
|
||||
To change that behavior you have to set context on ``ur.actions.act_window``::
|
||||
To change that behavior you have to set context on ``ir.actions.act_window``::
|
||||
|
||||
<record id="sale.action_quotations" model="ir.actions.act_window">
|
||||
<field name="context">{'readonly_by_pass': True}</field>
|
||||
@@ -42,7 +42,7 @@ For further information, please visit:
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/162/8.0
|
||||
:target: https://runbot.odoo-community.org/runbot/162/10.0
|
||||
|
||||
|
||||
Bug Tracker
|
||||
@@ -51,7 +51,7 @@ Bug Tracker
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/web/issues>`_.
|
||||
In case of trouble, please check there if your issue has already been reported.
|
||||
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
|
||||
`here <https://github.com/OCA/web/issues/new?body=module:%20web_readonly_bypass%0Aversion:%208.0.1.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
`here <https://github.com/OCA/web/issues/new?body=module:%20web_readonly_bypass%0Aversion:%2010.1.0.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
|
||||
Credits
|
||||
|
||||
@@ -1,33 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# This file is part of web_readonly_bypass,
|
||||
# an Odoo module.
|
||||
#
|
||||
# Copyright (c) 2015 ACSONE SA/NV (<http://acsone.eu>)
|
||||
#
|
||||
# web_readonly_bypass is free software:
|
||||
# you can redistribute it and/or modify it under the terms of the GNU
|
||||
# Affero General Public License as published by the Free Software
|
||||
# Foundation,either version 3 of the License, or (at your option) any
|
||||
# later version.
|
||||
#
|
||||
# web_readonly_bypass is distributed
|
||||
# in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with web_readonly_bypass.
|
||||
# If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
# Copyright (c) 2015 ACSONE SA/NV (<http://acsone.eu>)
|
||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
||||
|
||||
{
|
||||
'name': 'Read Only ByPass',
|
||||
'version': '9.0.1.0.0',
|
||||
"author": "ACSONE SA/NV, Odoo Community Association (OCA)",
|
||||
"maintainer": "ACSONE SA/NV,Odoo Community Association (OCA)",
|
||||
'version': '10.0.1.0.0',
|
||||
"author": "ACSONE SA/NV,Kalpana Hemnani,Odoo Community Association (OCA)",
|
||||
"website": "http://www.acsone.eu",
|
||||
"license": "LGPL-3",
|
||||
'category': 'Technical Settings',
|
||||
'depends': [
|
||||
'web',
|
||||
@@ -36,6 +16,6 @@
|
||||
'data': [
|
||||
'views/readonly_bypass.xml',
|
||||
],
|
||||
'installable': False,
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
}
|
||||
|
||||
@@ -6,10 +6,11 @@
|
||||
<script type="text/javascript" src="/web_readonly_bypass/static/src/js/readonly_bypass.js"></script>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="qunit_suite" name="web_readonly_bypass" inherit_id="web.qunit_suite">
|
||||
<xpath expr="//head" position="inside">
|
||||
<xpath expr="//t[@t-set='head']" position="inside">
|
||||
<script type="text/javascript" src="/web_readonly_bypass/static/test/web_readonly_bypass.js"></script>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</openerp>
|
||||
</openerp>
|
||||
Reference in New Issue
Block a user