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

	<entity name="Incoterm" lang="java">
	
		<string name="name" title="Incoterm Name" required="true"/>
		<string name="code" title="Incoterm Code" required="true"/>
		<string name="fullname" title="Fullname" namecolumn="true"/>
		
		<integer name="exportCustomsDeclaration" title="Export customs declaration" selection="stock.incoterm.allocation.select"/>
		<integer name="carriageToPortOfExport" title="Carriage to port of export" selection="stock.incoterm.allocation.select"/>
		<integer name="unloadingOfTruckInPortOfExport" title="Unloading of truck in port of export" selection="stock.incoterm.allocation.select"/>
		<integer name="loadingInPortOfExport" title="Loading on vessel/airplane in port of export" selection="stock.incoterm.allocation.select"/>
		<integer name="carriageToPortOfImport" title="Carriage (Sea/Air) to port of import" selection="stock.incoterm.allocation.select"/>
		<integer name="insurance" title="Insurance" selection="stock.incoterm.allocation.select"/>
		<integer name="unloadingInPortOfImport" title="Unloading in port of import" selection="stock.incoterm.allocation.select"/>
		<integer name="loadingOnTruckInPortOfImport" title="Loading on truck in port of import" selection="stock.incoterm.allocation.select"/>
		<integer name="carriageToPlaceOfDestination" title="Carriage to place of destination" selection="stock.incoterm.allocation.select"/>
		<integer name="importCustomsClearance" title="Import customs clearance" selection="stock.incoterm.allocation.select"/>
		<integer name="importDutiesAndTaxes" title="Import duties and taxes" selection="stock.incoterm.allocation.select"/>
		
		<extra-code><![CDATA[
			//ALLOCATION SELECT
			public static final int ALLOCATION_BUYER = 1;
			public static final int ALLOCATION_SELLER = 2;
			public static final int ALLOCATION_BUYER_AND_SELLER = 3;
	    ]]></extra-code>
		
	</entity>

</domain-models>
