summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_move.xml
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2025-01-13 11:24:08 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2025-01-13 11:24:08 +0700
commitfcefddc96acc561ec13d52e734eaf04b041d4a0b (patch)
tree5214a97eb25c3790cdd5b498278d924aac1f0336 /indoteknik_custom/views/account_move.xml
parentbef3ba4c18d585bc0980942d91b5fcb4d44427e1 (diff)
update export xml by selected invoice
Diffstat (limited to 'indoteknik_custom/views/account_move.xml')
-rw-r--r--indoteknik_custom/views/account_move.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
index 2863af57..4cc35b6d 100644
--- a/indoteknik_custom/views/account_move.xml
+++ b/indoteknik_custom/views/account_move.xml
@@ -163,5 +163,13 @@
<field name="state">code</field>
<field name="code">action = records.open_form_multi_create_reklas_penjualan()</field>
</record>
+
+ <record id="action_export_faktur" model="ir.actions.server">
+ <field name="name">Export Faktur ke XML</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.export_faktur_to_xml()</field>
+ </record>
</data>
</odoo> \ No newline at end of file