<?xml version="1.0" encoding="UTF-8"?>
<domain-models xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns="http://axelor.com/xml/ns/domain-models"
               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="TaxEquiv" lang="java">

        <many-to-one name="fiscalPosition" ref="com.axelor.apps.account.db.FiscalPosition" title="Fiscal position"/>
        <many-to-one name="fromTax" ref="com.axelor.apps.account.db.Tax" title="Tax to replace"/>
        <many-to-one name="toTax" ref="com.axelor.apps.account.db.Tax" title="Replacement Tax"/>
        <string name="specificNote" title="Specific note" large="true"/>
        <boolean name="reverseCharge" title="Reverse Charge"/>
        <many-to-one name="reverseChargeTax" ref="com.axelor.apps.account.db.Tax" title="Reverse Charge Tax"/>

        <unique-constraint columns="fiscalPosition,fromTax"/>
    </entity>

</domain-models>
