Creating Product History

Does anyone know how to link the data path from manufacturing orders to products? I tried copying the codes written in the sales view (details lines) to the product history, but as you can see in the photos below there is no data because I do not not know what I’ll encode next.
I created a Product History Panel on Products because I wanted to see the Manufacturing Orders (MO) for each product much easier. Hope someone can help me with this problem. Thank you.

Please see the photos below for your reference.


The existing action-view action-sale-order-view-manuf-orders has a domain filter on the SaleOrder object. You have to define our own action-view and filter on the product id.

	<action-view name="action-sale-order-view-manuf-orders" title="Manufacturing Orders" model="com.axelor.apps.production.db.ManufOrder">
		<view type="grid" name="manuf-order-grid"/>
		<view type="form" name="manuf-order-form"/>
		<domain> = :id</domain>


1 « J'aime »

Thank you for your response. :slight_smile: I’ll try it.

It’s okay now. We’ve linked the Manufacturing Orders data under our Product History Panel at Products. The only problem now is on how we can filter the MO as the same as the product name written on it.