From d45b103b101df17b5d484d07195b7af202a80256 Mon Sep 17 00:00:00 2001 From: tarteo Date: Mon, 24 Apr 2017 16:00:09 +0200 Subject: [PATCH] [ADD] Group 'Edit Favicon' --- web_favicon/README.rst | 3 +++ web_favicon/__manifest__.py | 4 ++-- web_favicon/views/res_company.xml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/web_favicon/README.rst b/web_favicon/README.rst index a95c5d43..d3d67e98 100644 --- a/web_favicon/README.rst +++ b/web_favicon/README.rst @@ -30,6 +30,8 @@ You have a sample SVG that can be used as template for generating your icon in /static/src/img/master_original_favicon.svg. You can also search for some favicon generators across the web. +To allow a user to edit the favicon it has to be member of group "Administration / Settings". + Usage ===== @@ -65,6 +67,7 @@ Contributors * Holger Brunn * Pedro M. Baeza +* Dennis Sluijk Maintainer ---------- diff --git a/web_favicon/__manifest__.py b/web_favicon/__manifest__.py index ab515f38..d70733a7 100644 --- a/web_favicon/__manifest__.py +++ b/web_favicon/__manifest__.py @@ -13,11 +13,11 @@ "category": "Website", "summary": "Allows to set a custom shortcut icon (aka favicon)", "depends": [ - 'web', + "web", ], "data": [ "views/res_company.xml", - 'views/templates.xml', + "views/templates.xml", ], "installable": True, } diff --git a/web_favicon/views/res_company.xml b/web_favicon/views/res_company.xml index b8d138d3..b35fe55d 100644 --- a/web_favicon/views/res_company.xml +++ b/web_favicon/views/res_company.xml @@ -5,7 +5,7 @@ - +