<?xml version="1.0" encoding="utf-8"?>
<menu-builders xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  
  <menu-builder name="bpm-product-root" title="Produits" icon="fa-cube" background="red" appBuilder="PRD" />
  
  <menu-builder name="menu-json-model-ProductCategory" title="Catégorie de produit" parent="bpm-product-root" appBuilder="PRD" show-action="true">
  	<action name="all.json.ProductCategory" title="Catégorie de produit" model="com.axelor.meta.db.MetaJsonRecord"
  		domain="self.jsonModel = :jsonModel" isJson="true">
  		<views>
  			<view type="grid" name="custom-model-ProductCategory-grid" sequence="1" />
  			<view type="form" name="custom-model-ProductCategory-form" sequence="2" />
  		</views>
  		<context>
  			<ctx name="jsonModel" value="'ProductCategory'" />
  		</context>
  	</action>
  </menu-builder>
  
  <menu-builder name="menu-json-model-Product" title="Produits" parent="bpm-product-root" show-action="true" appBuilder="PRD">
  	<action name="all.json.Product" title="Produits" model="com.axelor.meta.db.MetaJsonRecord"
		domain="self.jsonModel = :jsonModel" isJson="true">
  		<views>
  			<view type="grid" name="custom-model-Product-grid" sequence="1" />
  			<view type="form" name="custom-model-Product-form" sequence="2" />
  		</views>
  		<context>
  			<ctx name="jsonModel" value="'Product'" />
  		</context>
  	</action>
  </menu-builder>
  
  <menu-builder name="menu-json-model-ProductOrder" title="Commande produit" parent="bpm-product-root" show-action="true" appBuilder="PRD">
  	<action name="all.json.ProductOrder" title="Commande produit" model="com.axelor.meta.db.MetaJsonRecord"
  		domain="self.jsonModel = :jsonModel" isJson="true">
  		<views>
  			<view type="grid" name="custom-model-ProductOrder-grid" sequence="1" />
  			<view type="form" name="custom-model-ProductOrder-form" sequence="2" />
  		</views>
  		<context>
  			<ctx name="jsonModel" value="'ProductOrder'" />
  		</context>
  	</action>
  </menu-builder>
  
  <menu-builder name="menu-json-model-ProductOrderLine" title="Ligne de commande produit" parent="bpm-product-root" show-action="true" appBuilder="PRD">
  	<action name="all.json.ProductOrderLine" title="Ligne de commande produit" model="com.axelor.meta.db.MetaJsonRecord"
  		domain="self.jsonModel = :jsonModel" isJson="true">
  		<views>
  			<view type="grid" name="custom-model-ProductOrderLine-grid" sequence="1" />
  			<view type="form" name="custom-model-ProductOrderLine-form" sequence="2" />
  		</views>
  		<context>
  			<ctx name="jsonModel" value="'ProductOrderLine'" />
  		</context>
  	</action>
  </menu-builder>
  
  <menu-builder name="bpm-dashboard-product-dashboard" title="Tableau de bord produit" parent="bpm-product-root" show-action="true" appBuilder="PRD">
  	<action name="bpm.dashboard.product.dashboard" title="Tableau de bord produit" isJson="true">
  		<views>
  			<view type="dashboard" name="product-dashboard" sequence="1" />
  		</views>
  	</action>
  </menu-builder>
  
<!--   <menu-builder name="bpm-dashboard-crm-dashboard" title="Crm dashboard" parent="bpm-dashboard-root" show-action="true"> -->
<!--   	<action name="bpm.dashboard.sales.dashboard" title="Sales dashboard"> -->
<!--   		<views> -->
<!--   			<view type="dashboard" name="sales-order-dashboard" /> -->
<!--   		</views> -->
<!--   	</action> -->
<!--   </menu-builder> -->
  
  
</menu-builders>
