summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-06-05 10:53:30 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-06-05 10:53:30 +0700
commit55fb073416a7f8504c3819178aa7b6883304335f (patch)
tree31607f04bfd62f1d4b969017eca458a2c36f6bd5 /indoteknik_custom/views
parentc43cba9dd205a3f08343f79233d3af6f5ab189ff (diff)
(andri) merubah peletakan CAB menjadi berada di atas sebelah tombol receipt
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index 99362798..12ad6864 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -14,6 +14,19 @@
attrs="{'invisible': ['|', ('sale_order_id', '=', False), ('state', 'not in', ['draft'])]}"
/>
</div>
+ <xpath expr="//div[hasclass('oe_button_box')]" position="inside">
+ <button type="object"
+ name="action_view_journal_uangmuka"
+ class="oe_stat_button"
+ icon="fa-book"
+ attrs="{'invisible':[('move_id','=',False)]}"
+ style="width: 200px;">
+ <field name="move_id" widget="statinfo" string="Journal Uang Muka"/>
+ <span class="o_stat_text">
+ <t t-esc="record.move_id.name"/>
+ </span>
+ </button>
+ </xpath>
<button id="draft_confirm" position="after">
<button name="po_approve"
string="Ask Approval"