Debian Codegraph @

addons/pos_sale/views/stock_template.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3 <template id="message_body" inherit_id="stock.message_body">
4 <xpath expr="//t[contains(@t-if, 'move.state')]" position="inside">
5 <t groups="point_of_sale.group_pos_user">
6 <t t-set="pos_orders" t-value="move.sale_line_id.pos_order_line_ids.mapped('order_id')" />
7 <t t-if="len(pos_orders)">
8 <li>
9 Delivered from
10 <t t-foreach="pos_orders" t-as="pos_order">
11 <a href="#" t-att-data-oe-model="pos_order._name" t-att-data-oe-id="pos_order.id">
12 <t t-esc="pos_order.display_name" />
13 </a><span t-if="pos_orders.ids[-1:] != pos_order.ids">, </span>
14 </t>
15 </li>
16 </t>
17 </t>
18 </xpath>
19 </template>
20 </odoo>