summaryrefslogtreecommitdiff
path: root/addons/l10n_eu_service
diff options
context:
space:
mode:
authorHiral Bhavsar <hbh@odoo.com>2017-04-06 15:02:49 +0530
committerYannick Tivisse <yti@odoo.com>2017-07-27 11:31:26 +0200
commita8a9dbe5988391d73e933f7fd63bed559cc0ad09 (patch)
treefb26aa614cb4339445ac00f7bda97f856857430d /addons/l10n_eu_service
parent8a1311bca17bd93a87f94579698adddc416f78f0 (diff)
[IMP] account: Correct the settings display according to the enabled options
PURPOSE ======= Clean accounting new settings. SPECIFICATION ============= - When a setting is not active, I don't want to see the green arrow sending back to the configuration part. Example : If I unactivate the follow-up levels, I don't want to see the green arrow "Follow-up levels" anymore - Add checkbox to 'TaxCloud Connection' - Also visible the label 'Fiscal Localization' and its text only if CoA is not set. - Set '# of digits' always visible and relabel to '# of digits on accounts'. Also put it inside new setting 'Chart of Accounts'.
Diffstat (limited to 'addons/l10n_eu_service')
-rw-r--r--addons/l10n_eu_service/views/account_settings_config_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_eu_service/views/account_settings_config_views.xml b/addons/l10n_eu_service/views/account_settings_config_views.xml
index 071cf2fd397..e4071cc5887 100644
--- a/addons/l10n_eu_service/views/account_settings_config_views.xml
+++ b/addons/l10n_eu_service/views/account_settings_config_views.xml
@@ -7,7 +7,7 @@
<field name="inherit_id" ref="account.account_config_settings_view_form"/>
<field name="arch" type="xml">
<div name="l10n_eu_service_right_pane" position="inside">
- <div class="content-group">
+ <div class="content-group" attrs="{'invisible': [('module_l10n_eu_service', '=', False)]}">
<div>
<button name="%(l10n_eu_service.action_eu_service)d" icon="fa-arrow-right" type="action" string="Add new countries" class="btn-link"/>
</div>