<?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="WapHistory" lang="java">
    <many-to-one name="stockLocationLine" ref="com.axelor.apps.stock.db.StockLocationLine" readonly="true" required="true" initParam="true"/>
    <date name="date" column="date_val" readonly="true" initParam="true"/>
    <decimal name="wap" title="WAP" precision="20" scale="10" readonly="true" initParam="true"/>
    <decimal name="qty" title="Quantity" readonly="true" initParam="true"/>
    <many-to-one name="unit" ref="com.axelor.apps.base.db.Unit" title="Unit" readonly="true" initParam="true"/>
    <many-to-one name="stockMoveLine" ref="com.axelor.apps.stock.db.StockMoveLine" title="Stock move line" readonly="true" initParam="true"/>
  </entity>
</domain-models>
