summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-02-02 13:32:55 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-02-02 13:32:55 +0700
commit8978868864925683d02342112020e7fc047a4acf (patch)
tree1176a2d6f65e71a4bccde20c6dd4cbea79b4b8fa /indoteknik_custom/views/purchase_order.xml
parentd6c7fad834f954f892cea0eb9e082db822bc8f2b (diff)
logbook sj and mark as cancel 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 52e98787..a6f28ffa 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -213,4 +213,13 @@
<field name="code">action = records.open_form_multi_confirm_po()</field>
</record>
</data>
+ <data>
+ <record id="purchase_order_multi_cancel_ir_actions_server" model="ir.actions.server">
+ <field name="name">Cancel PO</field>
+ <field name="model_id" ref="purchase.model_purchase_order"/>
+ <field name="binding_model_id" ref="purchase.model_purchase_order"/>
+ <field name="state">code</field>
+ <field name="code">action = records.open_form_multi_cancel()</field>
+ </record>
+ </data>
</odoo> \ No newline at end of file