title: How to track One2many field in Odoo12?
body: <p>I am trying to log the changes on a One2many field using <code>track_visibility='onchange'</code>. But it's not working.</p>
  
  <p>Here is the code:</p>
  
  <p><strong>respartner.py</strong></p>
  
  <pre><code>   bank_account_ids = fields.One2many('customer.bank.account','partner_id',
      string='Account',track_visibility="onchange")
  </code></pre>
  
  <p><strong>account.py</strong></p>
  
  <pre><code>  _name = 'customer.bank.account'
  _description = 'Partner Bank Account Details'
  
  partner_id = fields.Many2one('res.partner',string="Partner")
  name = fields.Integer(string="Account Number",required=True,
      track_visibility="onchange")
  bank_id = fields.Many2one('partner.bank',string="Bank",track_visibility="onchange")
  branch_id = fields.Many2one('partner.bank.branch',string="Branch",
      track_visibility="onchange")
  </code></pre>