/
InventoryLine.xml
27 lines (24 loc) · 1.37 KB
/
InventoryLine.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?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_7.0.xsd">
<module name="stock" package="com.axelor.apps.stock.db"/>
<entity name="InventoryLine">
<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" precision="20" scale="10"/>
<decimal name="realQty" title="Real Qty" nullable="true" precision="20" scale="10"/>
<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"/>
<decimal name="realValue" title="Real valuation" readonly="true"/>
<many-to-one name="stockLocation" ref="com.axelor.apps.stock.db.StockLocation"
title="Stock location"/>
</entity>
</domain-models>