diff options
| author | Yannick Tivisse <yti@odoo.com> | 2017-01-05 16:37:29 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2017-01-05 16:38:48 +0100 |
| commit | 84dc52d715eb8b645e5b989060f8f224579bc14d (patch) | |
| tree | 9afeb0517c931ef24cc60d0f00488183e88db6a7 /addons/auth_oauth/views | |
| parent | 39e5dcc12e1a5482ccda813af9d8bb802a33d5cb (diff) | |
[FIX] auth_ldap,auth_oauth,base_gengo: Hide config fields if unchecked option
In general settings
Diffstat (limited to 'addons/auth_oauth/views')
| -rw-r--r-- | addons/auth_oauth/views/res_config_views.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/auth_oauth/views/res_config_views.xml b/addons/auth_oauth/views/res_config_views.xml index 4f0912afa18..0bc57df9127 100644 --- a/addons/auth_oauth/views/res_config_views.xml +++ b/addons/auth_oauth/views/res_config_views.xml @@ -6,14 +6,14 @@ <field name="inherit_id" ref="base_setup.base_config_settings_view_form"/> <field name="arch" type="xml"> <div id="msg_module_auth_oauth" position="replace"> - <div class="content-group"> + <div class="content-group" attrs="{'invisible': [('module_auth_oauth','=',False)]}"> <div class="mt16"> <button type="action" name="%(auth_oauth.action_oauth_provider)d" string="OAuth Providers" icon="fa-arrow-right" class="btn-link"/> </div> </div> </div> <div id="module_auth_oauth" position="after"> - <div class="col-xs-12 col-md-6 o_setting_box"> + <div class="col-xs-12 col-md-6 o_setting_box" attrs="{'invisible': [('module_auth_oauth','=',False)]}"> <div class="o_setting_left_pane"> <field name="auth_oauth_google_enabled"/> </div> |
