summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-07-25 11:09:27 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-07-25 11:09:27 +0700
commit940054dbc1dffca75bfb81e478d5538f762009c6 (patch)
treedcf0d00d874e8167d83999f86499bdc1b54dd704 /indoteknik_custom/views
parent4656fedaac694b5e6fe72311a49dd34bce1e50e5 (diff)
parentdd1e7158f3c5a24c4cfd67fdeedd9011f6c0655b (diff)
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/account_move.xml8
-rw-r--r--indoteknik_custom/views/account_move_multi_update.xml33
2 files changed, 41 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
index 0fd6b5b5..26168561 100644
--- a/indoteknik_custom/views/account_move.xml
+++ b/indoteknik_custom/views/account_move.xml
@@ -73,5 +73,13 @@
</field>
</field>
</record>
+
+ <record id="account_move_multi_update_ir_actions_server" model="ir.actions.server">
+ <field name="name">Multi Update</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.open_form_multi_update()</field>
+ </record>
</data>
</odoo> \ No newline at end of file
diff --git a/indoteknik_custom/views/account_move_multi_update.xml b/indoteknik_custom/views/account_move_multi_update.xml
new file mode 100644
index 00000000..dbd90340
--- /dev/null
+++ b/indoteknik_custom/views/account_move_multi_update.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<odoo>
+ <data>
+ <record id="view_account_move_multi_update_form" model="ir.ui.view">
+ <field name="name">Account Move Multi Update</field>
+ <field name="model">account.move.multi_update</field>
+ <field name="arch" type="xml">
+ <form>
+ <sheet>
+ <group>
+ <group>
+ <field name="payment_schedule" />
+ </group>
+ </group>
+ </sheet>
+ <footer>
+ <button name="save_multi_update" string="Multi Update" type="object" default_focus="1" class="oe_highlight"/>
+ <button string="Cancel" class="btn btn-secondary" special="cancel" />
+ </footer>
+ </form>
+ </field>
+ </record>
+
+ <record id="action_account_move_multi_update" model="ir.actions.act_window">
+ <field name="name">Account Move Multi Update</field>
+ <field name="res_model">account.move.multi_update</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="view_mode">form</field>
+ <field name="view_id" ref="view_account_move_multi_update_form"/>
+ <field name="target">new</field>
+ </record>
+ </data>
+</odoo> \ No newline at end of file