title: OpenERP - onchange method for fields in different page of view?
body: <p>It seems onchange method only works on current visible fields. If I use it to fill other fields that are in other pages of the view, it does not do anything. For example I have view with many pages. Mainly all information needs to be filled in first page, so most fields are filled correctly. But there is one field I need to fill in other page, when I choose <code>partner_id</code> in another page. For example in view like this:</p>
  
  <pre><code>...
  &lt;page string="page1"&gt;
    &lt;field name=partner_id on_change="onchange_partner(partner_id)"
    &lt;field name="field1"/&gt;
    &lt;field name="field2"/&gt;
  
  &lt;/page&gt;
  &lt;page string="page2"&gt;
     &lt;field name="field3"/&gt;
  &lt;/page&gt;
  ...
  </code></pre>
  
  <p><code>field1</code> and <code>field2</code> will be filled. But how to fill field3 or is it impossible, because system do not save it into database using onchange method?</p>
  
  <p>My onchange method looks something like this:</p>
  
  <pre><code>def onchange_partner(self, cr, uid, ids, partner_id, context=None):
    res = {}
    if partner_id:
      obj = self.pool.get('res.partner').browse(cr, uid, partner_id)
      res['field1'] = obj.field1
      res['field2'] = obj.field2
      res['field3'] = obj.field3 # this value isn't being filled
    return {'value': res}
  </code></pre>
  
  <p>So how could I fill <code>field3</code>?</p>