title: proper way to replace view form
body: <p>I need to override <code>account.account_aged_balance_view</code> in order to hide a field (<code>Period Length (days)</code>) as well add new field in the same time.</p>
  
  <p>I tried the following in my custom module view:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;openerp&gt;
    &lt;data&gt;
      &lt;record id="account_aged_balance_view" model="ir.ui.view"&gt;
          &lt;field name="name"&gt;Aged Partner Balance&lt;/field&gt;
          &lt;field name="model"&gt;account.aged.trial.balance&lt;/field&gt;
          &lt;field name="inherit_id" ref="account.account_aged_balance_view" /&gt;
          &lt;field name="arch" type="xml"&gt;
              &lt;form string="Report Options"&gt;
                  &lt;separator string="Aged Partner Balance"/&gt;
                  &lt;label string="Dariel Partner Balance is a more detailed report of your receivables by intervals. When opening that report, Odoo asks for the name of the company, the Start Date and the size of the interval to be analyzed (in days). Odoo then calculates a table of credit balance by start Date. So if you request an interval of 30 days Odoo generates an analysis of creditors for the past month, past two months, and so on. "/&gt;
                  &lt;group col="4"&gt;
                      &lt;field name="date_from"/&gt;
                      &lt;newline/&gt;
                      &lt;field name="result_selection" widget="radio"/&gt;
                      &lt;field name="target_move" widget="radio"/&gt;
                  &lt;/group&gt;
                  &lt;field name="journal_ids" required="0" invisible="1"/&gt;
              &lt;/form&gt;
          &lt;/field&gt;
      &lt;/record&gt;
    &lt;/data&gt;
  &lt;/openerp&gt;
  </code></pre>
  
  <p>those <code>XML</code> appended to the modal form instead of replacing the original form, like shown in the image.
  <a href="https://i.stack.imgur.com/YlL09.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YlL09.png" alt="enter image description here"></a></p>
  
  <p>so, am I doing it right (ofcourse it's not right) or how the proper way of doing it?</p>