Openworx / backend_theme

Odoo Backend Theme
156 stars 242 forks source link

Installation fails with latest version for Odoo 10 #31

Closed melroy89 closed 6 years ago

melroy89 commented 6 years ago

Hi,

I'm using the latest version of 'web_reponsive' add on, so I did install the dependency. And running Odoo 10.0-20171019 (OCA).

But when I try to upgrade to your latest theme version, I get the following error during the installation:

Field 'dashboard_background' doesn't exist.

Error context:
View `res.company.form`
[view_id: 761, xml_id: n/b, model: res.company, parent_id: 111]
None" while parsing /var/lib/odoo/.local/share/Odoo/addons/10.0/backend_theme_v10/views/res_company_view.xml:3, near
<record id="res_company_form" model="ir.ui.view">
        <field name="name">res.company.form</field>
        <field name="model">res.company</field>
        <field name="inherit_id" ref="base.view_company_form"/>
        <field name="arch" type="xml">
            <xpath expr="//notebook" position="inside">
                <page name="background" string="Apps Dashboard">
                    <group name="dashboard_settings">
                        <field name="dashboard_background" widget="image" class="oe_avatar"/>
                    </group>
                </page>
            </xpath>
        </field>
    </record>
mgielissen commented 6 years ago

You need to restart Odoo before upgrading.