mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[REM] Separate group for editing favicon
This commit is contained in:
@@ -67,6 +67,7 @@ Contributors
|
||||
|
||||
* Holger Brunn <hbrunn@therp.nl>
|
||||
* Pedro M. Baeza <pedro.baeza@gmail.com>
|
||||
* Dennis Sluijk <d.sluijk@onestein.nl>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="group_edit_favicon" model="res.groups">
|
||||
<field name="name">Edit Favicon</field>
|
||||
<field name="category_id" ref="base.module_category_hidden"/>
|
||||
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -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" groups="web_favicon.group_edit_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)]}" />
|
||||
|
||||
Reference in New Issue
Block a user