Files
stock-logistics-warehouse/stock_vertical_lift/views/shuttle_screen_templates.xml
Simone Orsi 6a702b30bb stock_vertical_lift: packaging template more flexible
As the template is not used by JS we can pass full objects to it.
This way we can use any recordset information directly in the template
without having to override the method.
2021-09-16 20:17:33 +07:00

24 lines
786 B
XML

<odoo>
<template id="packagings">
<ul class="o_vlift_packaging list-unstyled">
<t t-foreach="product.packaging_ids" t-as="packaging">
<li>
<span>1</span>
<span
class="packaging_name"
itemprop="name"
t-esc="packaging.name"
/>
<span>: </span>
<span class="packaging_qty" itemprop="qty" t-esc="packaging.qty" />
<span
class="packaging_unit"
itemprop="unit"
t-esc="product.uom_id.name"
/>
</li>
</t>
</ul>
</template>
</odoo>