title: How to display/refresh related fields in edit forms
body: <p>I have an object <code>shipment</code> with a field <code>product</code> of type related many2one that references many2one object <code>contract</code> which has one product (many2one). When I create a shipment, the product does not get displayed until I save the shipment. Also, when editing, the product does not change with the contract.</p>
  
  <p>I tried to create onchange event that returns the new product value but it did not work.</p>
  
  <p>Is their a method to refresh related fields when the relation changes?</p>
  
  <ul>
  <li>Mohammad</li>
  </ul>