title: Addition in General Settings of Odoo
body: <p>I am writing as custom Odoo module, with some configuration that can be set by the user.
  I want to add some setting in<br>
  Settings -> Configuration -> General Settings</p>
  
  <p>Therefore, I created a <strong>.py</strong> containing:</p>
  
  <pre><code>from openerp.osv import fields, osv
  
  class mymodule_configuration(osv.osv_memory):
     _inherit = 'res.config.settings'
  
    'test_field': fields.char(
                         string='Test Field',
                         required=True,
                               )
  </code></pre>
  
  <p><strong>.XML</strong></p>
  
  <pre><code>&lt;record id="custom_id" model="ir.ui.view"&gt;
     &lt;field name="name"&gt;General Settings&lt;/field&gt;
     &lt;field name="model"&gt;res.config.settings&lt;/field&gt;
     &lt;field name="arch" type="xml"&gt;
        &lt;form string="General"&gt;
           &lt;field name="test_field"/&gt;
        &lt;/form&gt;
     &lt;/field&gt;
  &lt;/record&gt;
  </code></pre>
  
  <p>It does not change the <em>General Settings</em>.</p>
  
  <p>If I add the reference id like:</p>
  
  <pre><code>&lt;field name="inherit_id" ref="base_setup.view_general_configuration"/&gt;
  </code></pre>
  
  <p>then I got the error </p>
  
  <blockquote>
    <p>ParseError: "ValidateError
    Field(s) <code>arch</code> failed against a constraint: Invalid view definition</p>
    
    <p>Error details:
    Field <code>module_portal</code> does not exist</p>
  </blockquote>
  
  <p>Can anyone help me to sort out this issue?</p>