<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<object-views xmlns="http://axelor.com/xml/ns/object-views"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://axelor.com/xml/ns/object-views http://axelor.com/xml/ns/object-views/object-views_5.2.xsd">
	
	<form name="app-employee-config-form" title="Employees management" model="com.axelor.apps.base.db.AppEmployee" canDelete="false" canNew="false" width="large">
		<panel name="mainPanel">
			<field name="advanceManagement" colSpan="3" widget="boolean-switch"/>
			<field name="payrollPreparation" colSpan="3" widget="boolean-switch" />
			<field name="lunchVoucher" colSpan="3" widget="boolean-switch" />
			<field name="employeeBonus" colSpan="3" widget="boolean-switch" />
		    <field name="dailyWorkHours" colSpan="3"/>
		</panel>
		<panel name="configPanel">
			<button name="generateHrConfigurationsBtn" colSpan="4" title="Generate human resource configurations" onClick="save,com.axelor.apps.hr.web.AppHumanResourceController:generateHrConfigurations"/>
			<panel-dashlet name="confHrConfigPanel" action="admin.root.conf.hr.config" colSpan="12"/>
		</panel>
		
		<panel-mail name="mailPanel">
			<mail-messages limit="4"/>
			<mail-followers/>
		</panel-mail>
	</form>
	
	<action-view name="admin.root.conf.hr.config" title="Human resource configurations"
		model="com.axelor.apps.hr.db.HRConfig" >
		<view type="grid" name="hr-config-grid" />
		<view type="form" name="hr-config-form"/>
	</action-view>
	
</object-views>
