diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-07-24 16:54:07 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-07-24 16:54:07 +0700 |
| commit | dd1e7158f3c5a24c4cfd67fdeedd9011f6c0655b (patch) | |
| tree | 6ef65eb4b6447f128e6df2260354416595fc617c /indoteknik_custom/views | |
| parent | 2ad6b4ecf783b5dfe0d4aa11f238cbf6aefd9747 (diff) | |
Feature account move multi update payment schedule
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/account_move.xml | 8 | ||||
| -rw-r--r-- | indoteknik_custom/views/account_move_multi_update.xml | 33 |
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 |
