summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2025-06-19 08:37:17 +0000
committerIT Fixcomart <it@fixcomart.co.id>2025-06-19 08:37:17 +0000
commit111cb931a88fceb811cafa9551c0dbd809ea2446 (patch)
treeea6653e6b7c9717a7384e30a1105354a6eb84c21 /indoteknik_custom/views/purchase_order.xml
parent1beabdd925218c888ad1b3b684a8eab020316a2e (diff)
parent8a0293f9f644c2006182f71c241a78d62b8cc3a7 (diff)
Merged in bu-button-po (pull request #340)
Bu button po
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index 9084bcbb..7b568d07 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -27,6 +27,15 @@
<t t-esc="record.move_id.name"/>
</span>
</button>
+ <button type="object"
+ name="action_view_related_bu"
+ class="oe_stat_button"
+ icon="fa-truck"
+ style="width: 200px;"
+ attrs="{'invisible': [('state', 'in', ['draft', 'sent'])]}">
+ <field name="bu_related_count" widget="statinfo" string="BU Related"/>
+ </button>
+ <field name="picking_count" invisible="1"/>
</xpath>
<button id="draft_confirm" position="after">
<button name="po_approve"