Browse Source

[MIG] web_favicon: Migration to 9.0

pull/1060/head
Pedro M. Baeza 9 years ago
parent
commit
3d2071c28a
  1. 6
      web_favicon/README.rst
  2. 2
      web_favicon/__openerp__.py
  3. 2
      web_favicon/views/res_company.xml

6
web_favicon/README.rst

@ -23,6 +23,8 @@ the used browser, but most modern browsers do.
Note that most browsers cache favicons basically forever, so if you want your Note that most browsers cache favicons basically forever, so if you want your
icon to show up, you'll most probably have to delete you browser cache. icon to show up, you'll most probably have to delete you browser cache.
Some browsers can refresh the favicon, accessing the URL
<base_url>/web_favicon/favicon.
You have a sample SVG that can be used as template for generating your icon 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 in /static/src/img/master_original_favicon.svg. You can also search for some
@ -33,7 +35,7 @@ Usage
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot :alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/162/8.0
:target: https://runbot.odoo-community.org/runbot/162/9.0
Known issues / Roadmap Known issues / Roadmap
====================== ======================
@ -53,7 +55,7 @@ In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/web/issues/new?body=module:%20 `here <https://github.com/OCA/web/issues/new?body=module:%20
web_favicon%0Aversion:%20 web_favicon%0Aversion:%20
8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits Credits
======= =======

2
web_favicon/__openerp__.py

@ -5,7 +5,7 @@
{ {
"name": "Custom shortcut icon", "name": "Custom shortcut icon",
"version": "8.0.1.0.0",
"version": "9.0.1.0.0",
"author": "Therp BV, " "author": "Therp BV, "
"Tecnativa, " "Tecnativa, "
"Odoo Community Association (OCA)", "Odoo Community Association (OCA)",

2
web_favicon/views/res_company.xml

@ -5,7 +5,7 @@
<field name="model">res.company</field> <field name="model">res.company</field>
<field name="inherit_id" ref="base.view_company_form" /> <field name="inherit_id" ref="base.view_company_form" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<page string="Configuration" position="inside">
<page name="configuration" position="inside">
<group string="Favicon" name="favicon"> <group string="Favicon" name="favicon">
<field name="favicon_backend" widget="image" /> <field name="favicon_backend" widget="image" />
<field name="favicon_backend_mimetype" attrs="{'required': [('favicon_backend', '!=', False)]}" /> <field name="favicon_backend_mimetype" attrs="{'required': [('favicon_backend', '!=', False)]}" />

Loading…
Cancel
Save