title: Tree View - New Action should popup for user input , process selected records and close in Odoo 10
body: <p>I have created a new tree View.</p>
  
  <p>I need to update price with selected records based on user input .</p>
  
  <p>My code :</p>
  
  <pre><code>    &lt;record id="view_pricelist_upgrade" model="ir.ui.view"&gt;
          &lt;field name="name"&gt;priclist upgrade&lt;/field&gt;
          &lt;field name="model"&gt;pricelist.upgrade&lt;/field&gt;
          &lt;field name="arch" type="xml"&gt;
              &lt;form string="Upgrade Price" create="false" edit="false"&gt;
                  &lt;group&gt;
                      &lt;group&gt;
                          &lt;field name="level_of_price"/&gt; 
                          &lt;field name="upgrade_price"/&gt;   
                          &lt;button string='update_price' name="mass_update_price" class="btn-default"/&gt;                        
                      &lt;/group&gt;
  
                  &lt;/group&gt;
                &lt;!--   &lt;footer&gt;                   
                      &lt;button string='Validate' name="mass_update_price" type="object"/&gt;                       
                      &lt;button string="Cancel" class="btn-default" special="cancel" /&gt;
                  &lt;/footer&gt; --&gt;
             &lt;/form&gt;
          &lt;/field&gt;
      &lt;/record&gt;
  
       &lt;record id="action_pricelist_upgrade" model="ir.actions.act_window"&gt;
          &lt;field name="name"&gt;Pricelist upgrade&lt;/field&gt;
          &lt;field name="res_model"&gt;pricelist.upgrade&lt;/field&gt;
          &lt;field name="view_type"&gt;form&lt;/field&gt;
          &lt;field name="view_mode"&gt;form&lt;/field&gt;
          &lt;field name="view_id" ref="view_pricelist_upgrade"/&gt;
          &lt;field name="context"&gt;{'default_pricelist_ids': [(0, active_id, None)]}&lt;/field&gt;
          &lt;field name="target"&gt;new&lt;/field&gt;
      &lt;/record&gt;   
  
  
  
     &lt;act_window
          id="action_pricelist_upgrade"
          name="Upgrade Pricelist"
          res_model="pricelist.upgrade"
          src_model="product.pricelist.item"
          view_mode="form"
          multi="True"           
          key2="client_action_multi"
      /&gt;
  </code></pre>
  
  <p>I'm getting the popup in form view when click on "Validate" button it call only create not my action</p>
  
  <p>python file</p>
  
  <pre><code>class Pricelist_Upgrade(models.AbstractModel):
  _name = 'pricelist.upgrade'   
  _auto = False
  
  @api.multi   
  def mass_update_price(self, vals):
      ### some
      return  {'type': 'ir.actions.act_window_close'}
  </code></pre>