title: concatenate firstname and lastname and fill into name field in odoo
body: <p>I have module which has three fields
  •name
  •first name 
  •last name
  When a user press save 
  The first name and last name will concatenate and displayed in name field.
  Name Field must be in read only mode.</p>
  
  <pre><code>def onchange_name(self, cr, uid, ids, firstname, lastname, context=None):
          value = {'fullname' : True}
          if firstname and lastname:
              value['fullname'] = firstname + " " +lastname   
          return {'value': value}
  
  
  &lt;field name="fullname" readonly="True" on_change="onchange_fullname(fullname,context)"/&gt;
  &lt;field name="firstname" string="First name" on_change="onchange_name(firstname,lastname,context)"/&gt;                    
   &lt;field name="lastname" string="Last name" on_change="onchange_name(firstname,lastname,context)"/&gt;  
  </code></pre>