flectra/addons/event/views/res_config_settings_views.xml

69 lines
3.7 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<data>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.event</field>
<field name="model">res.config.settings</field>
<field name="priority" eval="65"/>
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[hasclass('settings')]" position="inside">
<div class="app_settings_block" data-string="Events" string="Events" data-key="event" groups="event.group_event_manager">
<h2>Events</h2>
<div class="row mt16 o_settings_container">
<div class="col-xs-12 col-md-6 o_setting_box" title="Add a navigation menu to your event web pages with schedule, tracks, a track proposal form, etc.">
<div class="o_setting_left_pane">
<field name="module_website_event_track"/>
</div>
<div class="o_setting_right_pane">
<label string="Schedule &amp; Tracks" for="module_website_event_track"/>
<div class="text-muted">
Manage &amp; publish a schedule with tracks
</div>
</div>
</div>
</div>
<h2>Registration</h2>
<div class="row mt16 o_settings_container">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_event_sale"/>
</div>
<div class="o_setting_right_pane">
<label for="module_event_sale"/>
<div class="text-muted">
Sell tickets with sales orders
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 o_setting_box" name="event_settings_website">
<div class="o_setting_left_pane">
<field name="module_website_event_sale"/>
</div>
<div class="o_setting_right_pane">
<label for="module_website_event_sale"/>
<div class="text-muted">
Sell tickets on your website
</div>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
<record id="action_event_configuration" model="ir.actions.act_window">
<field name="name">Settings</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
<field name="context">{'module' : 'event'}</field>
</record>
<menuitem id="menu_event_global_settings" name="Settings"
parent="menu_event_configuration" sequence="0" action="action_event_configuration" groups="base.group_system"/>
</data>
2018-01-16 11:34:37 +01:00
</flectra>