summaryrefslogtreecommitdiff
path: root/odoo/addons/base/wizard/base_document_layout_views.xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-09-20 17:33:22 +0200
committerChristophe Simonis <chs@odoo.com>2019-09-20 17:34:45 +0200
commit64e43808b79badb5869a8d73cc1cc3f3b3aa8e12 (patch)
tree9a22d5f6c03073a4d10faedea8df23a5211e8b8f /odoo/addons/base/wizard/base_document_layout_views.xml
parent944891ced081cda3b8b3db5faf3b7ac23b6b4ce8 (diff)
parent58a83d12228fbbd4e9dde542e133d264204ee0f3 (diff)
[MERGE] forward port branch saas-12.5 up to 58a83d12228
Diffstat (limited to 'odoo/addons/base/wizard/base_document_layout_views.xml')
-rw-r--r--odoo/addons/base/wizard/base_document_layout_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/base/wizard/base_document_layout_views.xml b/odoo/addons/base/wizard/base_document_layout_views.xml
index 8cb49407f05..53f76eb34be 100644
--- a/odoo/addons/base/wizard/base_document_layout_views.xml
+++ b/odoo/addons/base/wizard/base_document_layout_views.xml
@@ -19,7 +19,7 @@
<div class="o_document_layout_colors">
<field name="primary_color" widget="color" class="mb-4" />
<field name="secondary_color" widget="color" class="mb-4" />
- <button class="btn btn-link" title="Reset to logo colors">
+ <button class="btn btn-link" title="Reset to logo colors" attrs="{'invisible': [('custom_colors', '=', False)]}">
<label for="custom_colors" class="fa fa-refresh mb-4" string="" />
</button>
</div>