Debian Codegraph @

addons/purchase_stock/static/src/purchase_dashboard/purchase_dashboard.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <templates>
3 <t t-name="purchase_stock.PurchaseDashboard" t-inherit="purchase.PurchaseDashboard" t-inherit-mode="extension">
4 <xpath expr="//div[@id='left_grid_top']" position="replace">
5 <div class="g-col-6 p-0" title="OTD">
6 <div class="purchase-dashboard-card o_no_hover p-1 p-lg-2 bg-100 text-center text-truncate text-wrap"
7 t-attf-class="o_purchase_dashboard_card_{{ multiuser ? 'top' : 'sole' }}">
8 <div class="fs-2" t-out="purchaseData['global']['otd']"/>OTD
9 </div>
10 </div>
11 </xpath>
12 <xpath expr="//div[@id='left_grid_bottom']" position="replace">
13 <div t-if="multiuser" class="g-col-6 p-0" title="OTD">
14 <div class="o_purchase_dashboard_card_bottom purchase-dashboard-card o_no_hover p-1 p-lg-2 bg-100 text-center text-truncate text-wrap">
15 <div t-out="purchaseData['my']['otd']"/>
16 </div>
17 </div>
18 </xpath>
19 </t>
20 </templates>