summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-01-09 15:03:15 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-01-09 15:03:15 +0700
commitdfd4a1617d2c62b99d4bbcb6386b477874a33ebf (patch)
treecf929b7967798000910e6f8afc6156de512fc330 /indoteknik_custom/views/purchase_order.xml
parent3615748eafd2d2cfd81f6ddc95d50a7bc347798d (diff)
multiple confirm purchase orders
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 3a95393e..fff582b1 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -197,4 +197,13 @@
<field name="code">action = records.open_form_multi_update_paid_status()</field>
</record>
</data>
+ <data>
+ <record id="purchase_order_multi_confirm_ir_actions_server" model="ir.actions.server">
+ <field name="name">Confirm 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_confirm_po()</field>
+ </record>
+ </data>
</odoo> \ No newline at end of file