summaryrefslogtreecommitdiff
path: root/fixco_custom/views
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2026-01-08 04:39:33 +0000
committerIT Fixcomart <it@fixcomart.co.id>2026-01-08 04:39:33 +0000
commitf5e9a57a021902317297eba2441a00b8968ba38c (patch)
tree1cc9916cab45f7afb00971fcb4c3dfde7e03dc14 /fixco_custom/views
parent6659dcfa24fb1a1923f47be4e0b697489dd0a3bf (diff)
parent5c332365e81cda9a7bdb233a31880c3bec1d1e0e (diff)
Merged main into print_picking_list
Diffstat (limited to 'fixco_custom/views')
-rw-r--r--fixco_custom/views/account_move.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/fixco_custom/views/account_move.xml b/fixco_custom/views/account_move.xml
index 8eb7975..52dd64c 100644
--- a/fixco_custom/views/account_move.xml
+++ b/fixco_custom/views/account_move.xml
@@ -138,5 +138,13 @@
<field name="state">code</field>
<field name="code">action = records.export_faktur_to_xml()</field>
</record>
+
+ <record id="action_cancel_bills" model="ir.actions.server">
+ <field name="name">Cancel Bills</field>
+ <field name="model_id" ref="account.model_account_move" />
+ <field name="binding_model_id" ref="account.model_account_move" />
+ <field name="state">code</field>
+ <field name="code">action = records.queue_job_cancel_bill()</field>
+ </record>
</data>
</odoo> \ No newline at end of file