You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.8 KiB
56 lines
1.8 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<record id="view_website_shift_config_irregular" model="ir.ui.view">
|
|
<field name="name">Website Shift Settings</field>
|
|
<field name="model">beesdoo.website.shift.config.settings</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Configure Website Shift" class="oe_form_configuration">
|
|
<header>
|
|
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
|
|
<button string="Cancel" type="object" name="cancel" class="oe_link" special="cancel"/>
|
|
</header>
|
|
<div>
|
|
<label for="irregular_shift_limit"/>
|
|
<field name="irregular_shift_limit"/>
|
|
</div>
|
|
<div>
|
|
<label for="highlight_rule"/>
|
|
<field name="highlight_rule"/>
|
|
</div>
|
|
<div>
|
|
<label for="hide_rule"/>
|
|
<field name="hide_rule"/>
|
|
</div>
|
|
<div>
|
|
<label for="irregular_enable_sign_up"/>
|
|
<field name="irregular_enable_sign_up"/>
|
|
</div>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_website_shift_configuration" model="ir.actions.act_window">
|
|
<field name="name">Website Shift Settings</field>
|
|
<field name="res_model">beesdoo.website.shift.config.settings</field>
|
|
<field name="view_id" ref="view_website_shift_config_irregular"/>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">inline</field>
|
|
</record>
|
|
|
|
<menuitem
|
|
id="menu_website_shift_root"
|
|
name="Shift"
|
|
parent="website.menu_website_configuration"
|
|
sequence="20"/>
|
|
|
|
<menuitem
|
|
id="menu_website_shift_irregular"
|
|
name="Irregular Shift"
|
|
action="action_website_shift_configuration"
|
|
parent="menu_website_shift_root"
|
|
sequence="1"/>
|
|
|
|
</data>
|
|
</openerp>
|