<?xml version="1.0" encoding="UTF-8"?>
<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="account" package="com.axelor.apps.account.db"/>

  <entity name="PayVoucherDueElement" sequential="true" lang="java">
  
  	<many-to-one name="paymentVoucher" ref="com.axelor.apps.account.db.PaymentVoucher" title="Payment" readonly="true"/>
  
    <many-to-one name="moveLine" ref="com.axelor.apps.account.db.MoveLine" title="Move Line" readonly="true"/>
	<decimal name="dueAmount" title="Due amount" readonly="true"/>
	<decimal name="paidAmount" title="Amount already paid" readonly="true"/>
	<decimal name="amountRemaining" title="Amount remaining" readonly="true"/>
  	
  	<many-to-one name="currency" ref="com.axelor.apps.base.db.Currency" title="Currency"/>
  	
  </entity>
  
</domain-models>