From 2c3106c365cedaa3bd128393a0e18322e7d3ab99 Mon Sep 17 00:00:00 2001
From: Jeremy Kersten <jke@odoo.com>
Date: Fri, 26 Feb 2021 10:27:22 +0000
Subject: [PATCH] [IMP] website: make refresh routes less visible
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Primary color lets imagine that it is the primary action to be done to update
the routing. While it is just to refresh the url_from list if you have missing
route (new module installed, ...)

Maybe we should just remove this button at the end.

closes odoo/odoo#66919

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
---
 addons/website/views/website_rewrite.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/addons/website/views/website_rewrite.xml b/addons/website/views/website_rewrite.xml
index a378062bba6e..b717b6fbca2b 100644
--- a/addons/website/views/website_rewrite.xml
+++ b/addons/website/views/website_rewrite.xml
@@ -7,7 +7,7 @@
                 <form string="Website rewrite Settings">
                     <header>
                         <button name="refresh_routes" string="Refresh route's list" type="object"
-                                class="btn-primary"
+                                class="btn-light"
                                 attrs="{'invisible':[('redirect_type', '!=', '308')]}"
                         />
                     </header>
-- 
GitLab