<?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="InventoryLine" lang="java">
  
  	<many-to-one name="inventory" ref="com.axelor.apps.stock.db.Inventory" title="Inventory"/>
	<many-to-one name="product" ref="com.axelor.apps.base.db.Product" title="Product" required="true"/>    
	<decimal name="currentQty" title="Current Qty"/>
	<decimal name="realQty" title="Real Qty" nullable="true"/>
	<many-to-one name="unit" title="Unit" ref="com.axelor.apps.base.db.Unit"/>
	<string name="description" title="Description" large="true" multiline="true"/>
    <string name="rack" title="Rack"/>
	<many-to-one name="trackingNumber" ref="com.axelor.apps.stock.db.TrackingNumber" title="TrackingNumber"/>
    <decimal name="gap" title="Gap" readonly="true"/>
    <decimal name="gapValue" title="Gap value" readonly="true"/>
  </entity>
</domain-models>
