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.
 
 
 
 
 

41 lines
1.5 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Time Slots Form View -->
<record id="time_slots_view_form" model="ir.ui.view">
<field name="name">time.slots.view.form</field>
<field name="model">time.slots</field>
<field name="arch" type="xml">
<form>
<sheet>
<div class="oe_title">
<h1>
<field name="name" required="1"/>
</h1>
</div>
<group>
<field name="movie_time" widget="timepicker_time"/>
</group>
</sheet>
</form>
</field>
</record>
<!-- Time Slots Tree View -->
<record id="time_slots_view_tree" model="ir.ui.view">
<field name="name">time.slots.view.tree</field>
<field name="model">time.slots</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
</tree>
</field>
</record>
<!-- Action Time Slots -->
<record id="time_slots_action" model="ir.actions.act_window">
<field name="name">Time Slots</field>
<field name="res_model">time.slots</field>
<field name="view_mode">tree,form</field>
</record>
<!-- MenuItem for time slots -->
<menuitem id="movie_time_slots" name="Time Slots"
parent="show_booking_management.movie_configuration" action="time_slots_action"/>
</odoo>