I want to make a link between a customer order line and a supplier order line. On a boolean field (directOrderLocation) of the table:
com.axelor.apps.sale.db.SaleOrderLine
which will be synchronized with the boolean field (directOrderLocation) of the supplier order line.
com.axelor.apps.purchase.db.PurchaseOrderLine
I tried this code :
Domain side in PurchaseOrderLine.xml :
<many-to-one ref="com.axelor.apps.sale.db.SaleOrderLine" name="directOrderLocation"
title="contremarque" initParam="true"/>
View side in PurchaseOrderLine.xml :
<field name="directOrderLocation" x-type="many-to-one"
x-target="com.axelor.apps.sale.db.SaleOrderLine" x-target-name="directOrderLocation"/>
but it doesn’t show anything. An idea ?