<?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="base" package="com.axelor.apps.base.db"/>
 
  <entity name="Product" lang="java">
  
    <many-to-one name="purchasesUnit" ref="com.axelor.apps.base.db.Unit" title="Purchases unit" initParam="true" massUpdate="true" />
	<one-to-many name="supplierCatalogList" ref="com.axelor.apps.purchase.db.SupplierCatalog" mappedBy="product" title="Supplier Catalog Lines" />
  	
    <track on="UPDATE">
        <field name="purchasesUnit" />
    </track>
  </entity>

</domain-models>
