<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">

    <t t-name="owl_demo.field_team_id">
	    <ul class="list-group">
          <li class="list-group-item active">Cras justo odio</li>
		    <li class="list-group-item">Dapibus ac facilisis in</li>
		    <li class="list-group-item">Morbi leo risus</li>
		    <li class="list-group-item">Porta ac consectetur ac</li>
		    <li class="list-group-item">Vestibulum at eros</li>
        </ul>
    </t>
	<!-- 不要加 owl="1" -->
	<t t-name="owl_demo.field_order_line">
<!--      <t t-foreach="current_field" t-as="order_line">-->
<!--          <h6><t t-out="order_line.name"/>-->
<!--	          <span class="badge rounded-pill dropdown o_tag o_tag_color_7"><t t-out="order_line.product_uom_qty"/></span></h6>-->
<!--          -->
<!--      </t>-->
		
		<table class="table table-bordered">
<!--  <thead>-->
<!--    <tr>-->
<!--      <th scope="col">#</th>-->
<!--      <th scope="col">product</th>-->
<!--      <th scope="col">qty</th>-->
<!--      <th scope="col">subtotal</th>-->
<!--    </tr>-->
<!--  </thead>-->
  <tbody>
	  <t t-set="index" t-value="1"/>
	  <t t-foreach="current_field" t-as="order_line">
			   <tr class="o_tag o_tag_color_{{index}}">
      <th scope="row"><t t-out="index"/></th>
      <td><t t-out="order_line.name.substr(0,20)"/></td>
      <td><t t-out="order_line.product_uom_qty"/></td>
      <td><t t-out="order_line.price_subtotal"/></td>
    </tr>
		  <t t-set="index" t-value="index+1"/>
  </t>
		   </tbody>
</table>
    </t>
	
	<t t-name="owl_demo.field_partner_id">
          <h5><t t-out="current_field.name"/></h5>
			
			
	          <span class="badge rounded-pill dropdown o_tag o_tag_color_3"><t t-out="current_field.phone"/></span>
    </t>
	
	<!--    <t t-name="owl_demo.field_order_line">-->
	<!--&lt;!&ndash;    <h3><t t-out="record.data.name"/></h3>&ndash;&gt;-->
	<!--	    <ul class="list-group">-->
	<!--          <t t-foreach="record.data.order_line.records" t-as="order_line">-->
	<!--            <li class="list-group-item d-flex justify-content-between align-items-center">-->
	<!--              <t t-out="order_line.id"/>-->
	<!--              <span class="badge rounded-pill">14</span>-->
	<!--            </li>-->
	<!--          </t>-->
	<!--        </ul>-->
	<!--    </t>-->

</templates>
