summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-06-19 15:21:18 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-06-19 15:21:18 +0700
commit6be435f0321929f2fb696e9bf91b64737f387769 (patch)
tree5399e0e867db7efcc15094bbb02548716dd9e856 /indoteknik_custom/views
parent9afff443c6d1f489c30f3306cd60e4c97e3cebd1 (diff)
(andri) add count bu related
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml7
1 files changed, 1 insertions, 6 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index e4e75bf2..5417e53c 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -33,12 +33,7 @@
icon="fa-truck"
style="width: 200px;"
attrs="{'invisible': [('state', 'in', ['draft', 'sent'])]}">
- <div class="o_stat_info">
- <span class="o_stat_value">
- <t t-esc="len(record.picking_ids)"/>
- </span>
- <span class="o_stat_text">BU Related</span>
- </div>
+ <field name="bu_related_count" widget="statinfo" string="BU Related"/>
</button>
</xpath>
<button id="draft_confirm" position="after">