title: Odoo inheritance button
body: <p>I need to add new  button to project.task model but i definitely have something mixed up here, can you guys help me with that and explain what's wrong  with my logic. i bet there is problem not only in method. maybe i need to add a field in my class called "`message_follower_ids" ? </p>
  
  <pre><code>class ProjectTaskFollowers(models.Model):
      _name = 'project.task.followers'
      _inherit = 'project.task'
  
  
  @api.multi
  def parameters_transfer(self):
      self.message_follower_ids = project_id.message_follower_ids
  
  
  
  
   &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;odoo&gt;
  
  
  &lt;record id="act_project_task_inherited" model="ir.actions.act_window"&gt;
          &lt;field name="name"&gt;taks.project.fallowers.inh.act&lt;/field&gt;
          &lt;field name="res_model"&gt;project.task.followers&lt;/field&gt;
          &lt;field name="view_mode"&gt;kanban,tree,form,calendar,pivot,graph&lt;/field&gt;
          &lt;field name="help" type="html"&gt;
          &lt;/field&gt;
      &lt;/record&gt;
  
  
  &lt;!-- Inherit Form View to Modify it --&gt;
  &lt;record id="view_form_project_task_inherited" model="ir.ui.view"&gt;
      &lt;field name="name"&gt;task.project.fallowers.inher&lt;/field&gt;
      &lt;field name="model"&gt;project.task.followers&lt;/field&gt;
      &lt;field name="inherit_id" ref="project.view_task_form2"/&gt;
      &lt;field name="arch" type="xml"&gt;
         &lt;xpath expr="//div[@name='button_box']" postition='inside'&gt;
         &lt;button class="oe_link" type="action" name="%(act_project_task_inherited)%"&gt;
             &lt;field string="Assign Project Followers" name="project_id.message_follower_ids" widget="statinfo"/&gt;
         &lt;/button&gt;
         &lt;/xpath&gt;
      &lt;/field&gt;
  &lt;/record&gt;
  </code></pre>
  
  <p></p>