diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-06-19 14:00:29 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-06-19 14:00:29 +0700 |
| commit | 9afff443c6d1f489c30f3306cd60e4c97e3cebd1 (patch) | |
| tree | 57bb1da547d1f717ad9399e04699e2c814679177 /indoteknik_custom/views | |
| parent | 0367831ed39894eea690a59999722c0d9a248fe4 (diff) | |
(andri) add button related BU di PO yang hasilnya mengarah ke list related BU
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index 9084bcbb..e4e75bf2 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -27,6 +27,19 @@ <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'])]}"> + <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> + </button> </xpath> <button id="draft_confirm" position="after"> <button name="po_approve" |
