flectra/addons/website_event/data/event_data.xml
flectra-admin 769eafb483 [INIT] Inception of Flectra from Odoo
Flectra is Forked from Odoo v11 commit : (6135e82d73)
2018-01-16 11:45:59 +05:30

36 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="menu_events" model="website.menu">
<field name="name">Events</field>
<field name="url">/event</field>
<field name="parent_id" ref="website.main_menu"/>
<field name="sequence" type="int">30</field>
</record>
<record id="action_open_website" model="ir.actions.act_url">
<field name="name">Website Home</field>
<field name="target">self</field>
<field name="url">/event</field>
</record>
<record id="base.open_menu" model="ir.actions.todo">
<field name="action_id" ref="action_open_website"/>
<field name="state">open</field>
</record>
<record id="mt_event_published" model="mail.message.subtype">
<field name="name">Event published</field>
<field name="res_model">event.event</field>
<field name="default" eval="False"/>
<field name="description">Event published</field>
</record>
<record id="mt_event_unpublished" model="mail.message.subtype">
<field name="name">Event unpublished</field>
<field name="res_model">event.event</field>
<field name="default" eval="False"/>
<field name="description">Event unpublished</field>
</record>
</data>
</odoo>