lading_adapter_ids
是模块中的 one2many 字段。
这是代码,都t-out
显示为空白。
<t t-foreach="record.lading_adapter_ids.raw_value" t-as="o">
<t t-out="o.name" />
<t t-if="i % 2 != 0" >
<hr />
</t>
<t t-set="i" t-value="1"/>
<i class="fa fa-location-arrow" title="This is the district" />
<t t-out="o.district" />
<br />
<i class="fa fa-building" title="This is company name" />
<t t-out="o.display_name" />
<br />
<i class="fa fa-map-marker" title="This is the address" />
<t t-out="o.eng_address" />
<br />
</t>