mirror of https://github.com/OCA/web.git
[ADD] Group 'Edit Favicon'
parent
e1cb379487
commit
246a15fb66
|
@ -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 <hbrunn@therp.nl>
|
||||
* Pedro M. Baeza <pedro.baeza@gmail.com>
|
||||
* Dennis Sluijk <d.sluijk@onestein.nl>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<field name="inherit_id" ref="base.view_company_form" />
|
||||
<field name="arch" type="xml">
|
||||
<notebook position="inside">
|
||||
<page string="Web Favicon" name="favicon">
|
||||
<page string="Web Favicon" name="favicon" groups="base.group_system">
|
||||
<group string="Favicon" name="favicon">
|
||||
<field name="favicon_backend" widget="image" />
|
||||
<field name="favicon_backend_mimetype" attrs="{'required': [('favicon_backend', '!=', False)]}" />
|
||||
|
|
Loading…
Reference in New Issue