title: odoo form view update another field's value from js
body: <p>I have a custom widget that should set the value of another field in my model. I implemented this by doing an RPC from JS to a setter in my model for the field. This works, but the new value is not immediately shown in the UI. So to see the value I have to refresh the page.</p>
  
  <p>Is there a way to update the form view using JS?</p>
  
  <p>What is the correct way of setting a value inside the model from a custom widget?</p>
  
  <p><strong>Example</strong></p>
  
  <p>I have a field A and a field C. C has a custom widget for example a button. When clicking the button the value of A should be changed. Question is how do I update field A from the custom widget of field B?</p>
  
  <p><strong>Note</strong></p>
  
  <p>I am on Odoo 11, which changed a lot of the JS API, I think</p>