Skip to content
Snippets Groups Projects
Commit d8064099 authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[FIX] website: move action action_website_add_features

Since we use it in website_form which one is included before res_config_setting,
we need to declare it before.
parent 65d8177b
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="action_website_add_features" model="ir.actions.act_window">
<field name="name">Apps</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">ir.module.module</field>
<field name="view_mode">kanban,tree,form</field>
<field name="context" eval="{'search_default_category_id': ref('base.module_category_website')}"/>
</record>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.website</field>
<field name="model">res.config.settings</field>
......@@ -227,7 +219,7 @@
Add links to social media on your website
</div>
<div class="content-group">
<button type="object" name="company_go_to" string="Configure my social media links" icon="fa-arrow-right" class="btn-link"/>
<button type="object" name="company_go_to" string="Configure social media links" icon="fa-arrow-right" class="btn-link"/>
</div>
</div>
</div>
......
......@@ -8,6 +8,15 @@
groups="base.group_user"
web_icon="website,static/description/icon.png"/>
<record id="action_website_add_features" model="ir.actions.act_window">
<field name="name">Apps</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">ir.module.module</field>
<field name="view_mode">kanban,tree,form</field>
<field name="context" eval="{'search_default_category_id': ref('base.module_category_website')}"/>
</record>
<!-- website views -->
<record id="view_website_form" model="ir.ui.view">
<field name="name">website.form</field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment