tictac/itis_hr_extend/wizard/fte_wizard_view.xml

35 lines
1.1 KiB
XML
Raw Normal View History

2019-05-06 09:40:59 +00:00
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="fte_wiz_form_view" model='ir.ui.view'>
<field name="name">fte.wiz.form.view</field>
<field name="model">create.fte</field>
<field name="arch" type="xml">
<form>
<label string="Click 'Generate' button to Generate FTE report" />
<footer>
<button name='generate_fte_report' type='object' string="Generate" />
or
<button special="cancel" string="Cancel" class='oe_link' />
</footer>
</form>
</field>
</record>
<record id="fte_window_action" model="ir.actions.act_window">
<field name="name">FTE Report</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">create.fte</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<menuitem name="Generate FTE Report" parent="menu_hr_reports"
action="fte_window_action" id="menu_fte_report_generate"
groups='base.group_hr_payroll_manager,base.group_hr_manager,base.group_hr_user'/>
</data>
</openerp>