[FIX] some updates after first revision

pull/351/head
Cesar Lage 2016-05-04 04:32:11 -04:00
parent 34a7ea8b2a
commit 808599e686
4 changed files with 10 additions and 46 deletions

View File

@ -42,8 +42,8 @@ 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 help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/ <https://github.com/OCA/
web/issues/new?body=module:%20 web/issues/new?body=module:%20
web_qweb_diff%0Aversion:%20 web_widget_radio_tree%0Aversion:%20
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. 8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits Credits
======= =======
@ -67,4 +67,4 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and mission is to support the collaborative development of Odoo features and
promote its widespread use. promote its widespread use.
To contribute to this module, please visit https://odoo-community.org. To contribute to this module, please visit https://odoo-community.org.

View File

@ -1,20 +1,3 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
############################################################################## # © 2016 Cesar Lage (bloopark systems GmbH)
# # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo, an open source suite of business apps
# This module copyright (C) 2015 bloopark systems (<http://bloopark.de>).
#
# This program 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.
#
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

View File

@ -1,26 +1,9 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
############################################################################## # © 2016 Cesar Lage (bloopark systems GmbH)
# # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
# Odoo, an open source suite of business apps
# This module copyright (C) 2015 bloopark systems (<http://bloopark.de>).
#
# This program 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.
#
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{ {
'name': "Web Widget Radio Tree", 'name': "Web Widget Radio Tree",
'summary': """Add radio buttons for records in tree.""", 'summary': "Add radio buttons for records in tree.",
'author': "bloopark systems GmbH & Co. KG", 'author': "bloopark systems GmbH & Co. KG",
'website': "http://www.bloopark.de", 'website': "http://www.bloopark.de",
'category': 'web', 'category': 'web',
@ -33,7 +16,5 @@
], ],
'qweb': [ 'qweb': [
'static/src/xml/widget.xml', 'static/src/xml/widget.xml',
], ]
'installable': True,
'auto_install': False,
} }

View File

@ -35,7 +35,7 @@ openerp.web_widget_radio_tree = function (instance) {
}; };
this.on('change:effective_readonly', this, check_readonly); this.on('change:effective_readonly', this, check_readonly);
check_readonly.call(this); check_readonly.call(this);
this._super.apply(this, arguments); return this._super.apply(this, arguments);
}, },
click_disabled_boolean: function(){ click_disabled_boolean: function(){
var $disabled = this.$el.find('input[type=radio]:disabled'); var $disabled = this.$el.find('input[type=radio]:disabled');