hr_employee_employment_status/views/hr_employment_status_views.xml
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 OpenSynergy Indonesia
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
<openerp>
<data>
<record id="hr_employment_status_view_tree" model="ir.ui.view">
<field name="name">tree hr.employment_status</field>
<field name="model">hr.employment_status</field>
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="code" />
</tree>
</field>
</record>
<record id="hr_employment_status_view_form" model="ir.ui.view">
<field name="name">form hr.employment_status</field>
<field name="model">hr.employment_status</field>
<field name="arch" type="xml">
<form>
<group name="main">
<field name="name" />
<field name="code" />
<field name="active" />
</group>
<notebook colspan="4">
<page name="note" string="Note">
<field name="note" colspan="4" nolabel="1" />
</page>
</notebook>
</form>
</field>
</record>
<record id="hr_employment_status_action" model="ir.actions.act_window">
<field name="name">Employment Status</field>
<field name="res_model">hr.employment_status</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem
action="hr_employment_status_action"
id="hr_employment_status_menu"
parent="hr.menu_hr_configuration"
sequence="1"
/>
</data>
</openerp>