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.
|
|
<odoo> <record model="ir.ui.view" id="task_view_tree"> <field name="name">Task Template List</field> <field name="model">beesdoo.shift.shift</field> <field name="arch" type="xml"> <tree> <field name="start_time" /> <field name="planning_id" /> <field name="task_type_id" /> <field name="name" /> <field name="worker_id" /> <field name="end_time" /> </tree> </field> </record>
<record model="ir.ui.view" id="task_view_calendar"> <field name="name">Task Template List</field> <field name="model">beesdoo.shift.shift</field> <field name="arch" type="xml"> <calendar string="Calendar View" date_start="start_time" date_stop="end_time" color="task_type_id"> <field name="name" /> <field name="worker_id" /> </calendar> </field> </record>
<record model="ir.ui.view" id="task_view_form"> <field name="name">Task Template Form</field> <field name="model">beesdoo.shift.shift</field> <field name="arch" type="xml"> <form> <header> <field name="state" widget="statusbar" clickable="1" /> </header> <sheet> <div class="oe_title"> <h1> <field name="name" /> </h1> </div> <group> <group> <field name="task_template_id" /> <field name="task_type_id" /> <field name="worker_id" /> </group> <group> <field name="start_time" /> <field name="end_time" /> </group> </group> </sheet> <!-- Solution Ex1 --> <div class="oe_chatter"> <field name="message_follower_ids" widget="mail_followers" /> <field name="message_ids" widget="mail_thread" /> </div> </form> </field> </record>
<!-- Actions --> <record model="ir.actions.act_window" id="action_task"> <field name="name">Task Action</field> <field name="res_model">beesdoo.shift.shift</field> <field name="view_mode">calendar,tree,form,pivot</field> </record>
<!-- Top menu item --> <menuitem name="Planning" id="menu_task_top" parent="menu_root" sequence="1" /> <!-- actions --> <menuitem name="Shift" id="menu_task" parent="menu_task_top" action="action_task" /> </odoo>
|