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.
 
 
 
 
 

43 lines
1.5 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- View for the slot time tree -->
<record id="slot_time_view_tree" model="ir.ui.view">
<field name="name">slot.time.view.tree</field>
<field name="model">slot.time</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="slot_type"/>
<field name="time_from"/>
<field name="time_to"/>
</tree>
</field>
</record>
<!-- View for the slot time form -->
<record id="slot_time_view_form" model="ir.ui.view">
<field name="name">slot.time.view.form</field>
<field name="model">slot.time</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="name"/>
<field name="slot_type"/>
<field name="time_from"/>
<field name="time_to"/>
</group>
</sheet>
</form>
</field>
</record>
<!-- Action for the slot time -->
<record id="slot_time_action" model="ir.actions.act_window">
<field name="name">Slots</field>
<field name="res_model">slot.time</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Menu item for the slot time -->
<menuitem id="slot_sub_menu" name="Slot Timing"
action="slot_time_action"
parent="sale.menu_sale_config" sequence="13"/>
</odoo>