<?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="supplychain" package="com.axelor.apps.supplychain.db"/>

  <entity name="DeclarationOfExchanges">
    <many-to-one name="company" ref="com.axelor.apps.base.db.Company" required="true"/>
    <many-to-one name="country" ref="com.axelor.apps.base.db.Country" required="true"/>
    <many-to-one name="fiscalYear" ref="com.axelor.apps.base.db.Year" required="true"/>
    <many-to-one name="period" ref="com.axelor.apps.base.db.Period" required="true"/>
    <string name="productTypeSelect" selection="product.product.type.select" required="true"
      default="storable" title="Product type"/>
    <integer name="stockMoveTypeSelect" required="true" selection="stock.move.type.select"
      default="2" title="Stock move type"/>
    <string name="formatSelect" selection="iadministration.declaration.of.exchanges.export.type.select" required="true"
      default="pdf" title="Format"/>
  </entity>

</domain-models>
