title: Show all One2Many model field in tree view - Odoo 11.0
body: <p>I have two model: </p>
  
  <pre><code>class Requisition(models.Model):
      '''
      This module is responsible for all of the requisition related operations.
      '''
  
      _name = 'mir.requisition'
      _description = 'Mir Requisition'
  
      name = fields.Char('Requisition Name', required=True)
      company_id = fields.Many2one('res.company', string='Company')
      requisition_line_ids = fields.One2many('mir.requisition.line', 'requisition_id', string='Requisition Line')
  
  
  class RequisitionLine(models.Model):
      '''
          This module is responsible for all of the requisition line item related operations.
      '''
      _name = 'mir.requisition.line'
      _description = 'Mir Requisition Line'
  
      product_id = fields.Many2one(
          'product.product', 'Product', required=True)
      product_qty = fields.Float(
          'Quantity',
          digits=dp.get_precision('Product Unit of Measure'), default=0, required=True)
      product_uom_id = fields.Many2one(
          'product.uom', 'Unit of Measure',
          oldname='product_uom', required=True)
      delivery_date = fields.Date(string='Delivery Date', required=True)
      delivery_location = fields.Many2one('stock.location', 'Warehouse Location', required=True)
      requisition_id = fields.Many2one('mir.requisition', string='Mir Requisition Reference', index=True, ondelete='cascade')
      status = fields.Selection([
          ('draft', 'Draft'),
          ('in_progress', 'In Progress'),
          ('approved', 'Approved'),
          ('cancel', 'Cancel'),
      ], 'draft')
  
      @api.onchange('product_id')
      def _product_onchange(self):
          product = self.product_id
          self.product_uom_id = self.product_id.uom_id.id
          return {'domain': {'product_uom': [('category_id', '=', product.uom_id.category_id.id)]}}
  </code></pre>
  
  <p>and view is: </p>
  
  <pre><code> &lt;!--Requisition Tree View--&gt;
      &lt;record id="mir_requisition_tree" model="ir.ui.view"&gt;
          &lt;field name="name"&gt;Requisition&lt;/field&gt;
          &lt;field name="model"&gt;mir.requisition&lt;/field&gt;
          &lt;field name="arch" type="xml"&gt;
              &lt;tree string="Requisition"&gt;
                  &lt;field name="name"/&gt;
                  &lt;field name="company_id"/&gt;
                  &lt;field name="create_uid" string="Created By"/&gt;
                  &lt;field name="create_date" string="Created Date"/&gt;
              &lt;/tree&gt;
          &lt;/field&gt;
      &lt;/record&gt;
  </code></pre>
  
  <p>Currently this view showing data form parent model <code>mir.requisition</code>. But i want to display both model data in a single view. Any help will be appreciated. </p>