summaryrefslogtreecommitdiff
path: root/fixco_custom/views/account_move.xml
diff options
context:
space:
mode:
Diffstat (limited to 'fixco_custom/views/account_move.xml')
-rw-r--r--fixco_custom/views/account_move.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/fixco_custom/views/account_move.xml b/fixco_custom/views/account_move.xml
index 4205e37..41ad966 100644
--- a/fixco_custom/views/account_move.xml
+++ b/fixco_custom/views/account_move.xml
@@ -33,6 +33,14 @@
<!-- <button name="approve_refund" string="Approved Pengajuan Refund"
type="object" class="btn-primary" attrs="{'invisible': [('state', '!=', 'posted'), ('move_type', '!=', 'entry'), ('approval_refund', 'in', ('approved','rejected'))]}"/> -->
</button>
+ <xpath expr="//header" position="inside">
+ <button name="action_open_po_item_wizard"
+ type="object"
+ string="Add PO Items"
+ class="oe_highlight"
+ attrs="{'invisible': [('move_type','!=','in_invoice')]}"/>
+ </xpath>
+
<button name="open_reconcile_view" position="after">
<button type="object" name="action_view_related_payment"
@@ -171,4 +179,4 @@
<field name="code">action = records.queue_job_cancel_bill()</field>
</record>
</data>
-</odoo> \ No newline at end of file
+</odoo>