<?xml version="1.0" ?>
<domain-models xmlns="http://axelor.com/xml/ns/domain-models"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://axelor.com/xml/ns/domain-models http://axelor.com/xml/ns/domain-models/domain-models_5.2.xsd">

  <module name="human-resource" package="com.axelor.apps.hr.db"/>

  <entity name="LeaveManagement" cacheable="true">
	<many-to-one name="leaveLine" ref="com.axelor.apps.hr.db.LeaveLine"/>
    <decimal name="value" title="Value" scale="4" precision="8"/>
    <decimal name="oldValue" scale="4" precision="8"/>
    <date name="date" column="date_val" title="Date" required="true"/>
    <date name="fromDate" title="From" />
    <date name="toDate" title="To (included)" />
    <string name="comments" title="Comments" large="true" multiline="true"/>
    <many-to-one name="user" ref="com.axelor.auth.db.User" title="User" required="true" column="user_id"/>
    <boolean name="counted"/>
  </entity>
  
</domain-models>