I want to make normal new menu, but is show as wizard. I want it show as usual menu.
this is the .xml
<record id="view_change_shift_tree" model="ir.ui.view">
<field name="name">resource.calendar.change.tree</field>
<field name="model">resource.calendar.change</field>
<field name="arch" type="xml">
<tree string="Change Shift">
<field name="working_hours" />
<field name="date_start"/>
</tree>
</field>
</record>
<record id="action_change_shift" model="ir.actions.act_window">
<field name="name">Change Shift</field>
<field name="res_model">resource.calendar.change</field>
<field name="view_type">tree</field>
<field name="view_mode">tree</field>
</record>
<menuitem id="menu_change_shift" name="Change Work Hours" action="action_change_shift" parent="hr.menu_hr_main" sequence="50" />
this is the .py
class change_shift(osv.osv):
_name = "resource.calendar.change"
_description = 'Change Shift'
_columns = {
'working_hours': fields.many2one('resource.calendar', 'Working Hours'),
'date_start': fields.date('Date From'),
}
the menu show as wizard not as usual menu