diff --git a/addons/theme_bootswatch/__openerp__.py b/addons/theme_bootswatch/__openerp__.py index b2fd448d91450a77eb487308140ae869f7a23b3d..0e7c010a3866e10b3b141d5902d43e243833d50d 100644 --- a/addons/theme_bootswatch/__openerp__.py +++ b/addons/theme_bootswatch/__openerp__.py @@ -10,6 +10,7 @@ 'version': '1.0', 'depends': ['website'], 'data': [ + 'data/theme_bootswatch_data.xml', 'views/theme_bootswatch_templates.xml', ], 'images': ['static/description/bootswatch.png'], diff --git a/addons/theme_bootswatch/data/theme_bootswatch_data.xml b/addons/theme_bootswatch/data/theme_bootswatch_data.xml new file mode 100644 index 0000000000000000000000000000000000000000..04cf520a69940ae7fc6c46f032ef571ca3b0a9a8 --- /dev/null +++ b/addons/theme_bootswatch/data/theme_bootswatch_data.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <record id="action_website" model="ir.actions.act_url"> + <field name="name">Website</field> + <field name="url">/</field> + <field name="target">self</field> + </record> + <record id="base.open_menu" model="ir.actions.todo"> + <field name="action_id" ref="action_website"/> + <field name="state">open</field> + </record> +</odoo> \ No newline at end of file diff --git a/addons/theme_default/__openerp__.py b/addons/theme_default/__openerp__.py index 55287f9d0493d0b110cbf93dec9c47aa0f4d29f7..72b4185e928304ad581932959f5eb992f568b804 100644 --- a/addons/theme_default/__openerp__.py +++ b/addons/theme_default/__openerp__.py @@ -9,6 +9,7 @@ 'version': '1.0', 'depends': ['website'], 'data': [ + 'data/theme_default_data.xml', 'views/theme_default_templates.xml', ], 'images': [ diff --git a/addons/theme_default/data/theme_default_data.xml b/addons/theme_default/data/theme_default_data.xml new file mode 100644 index 0000000000000000000000000000000000000000..04cf520a69940ae7fc6c46f032ef571ca3b0a9a8 --- /dev/null +++ b/addons/theme_default/data/theme_default_data.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <record id="action_website" model="ir.actions.act_url"> + <field name="name">Website</field> + <field name="url">/</field> + <field name="target">self</field> + </record> + <record id="base.open_menu" model="ir.actions.todo"> + <field name="action_id" ref="action_website"/> + <field name="state">open</field> + </record> +</odoo> \ No newline at end of file