diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-07-17 13:57:47 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-07-17 13:57:47 +0700 |
| commit | 2fe077d802bf143b110bc681ac039ba8bcfccb26 (patch) | |
| tree | 708e6d2000e6ab720c0d3e6537b288f333086de0 /indoteknik_custom/views | |
| parent | 861ceb85ad813050331200b41ba4fe08b314d08f (diff) | |
(andri) init action dll
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/down_payment.xml | 87 | ||||
| -rw-r--r-- | indoteknik_custom/views/ir_sequence.xml | 10 |
2 files changed, 97 insertions, 0 deletions
diff --git a/indoteknik_custom/views/down_payment.xml b/indoteknik_custom/views/down_payment.xml new file mode 100644 index 00000000..f418b932 --- /dev/null +++ b/indoteknik_custom/views/down_payment.xml @@ -0,0 +1,87 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="view_form_down_payment" model="ir.ui.view"> + <field name="name">down.payment.form</field> + <field name="model">down.payment</field> + <field name="arch" type="xml"> + <form string="Pengajuan Uang Muka (PUM)"> + <header> + <button name="action_realisasi_pum" + type="object" + string="Realisasi" + class="btn-primary" + attrs="{}"/> + <button name="action_reject" + type="object" + string="Reject" + attrs="{}"/> + <button name="action_confirm_payment" + type="object" + string="Konfirmasi Pembayaran" + attrs="{}"/> + <button name="action_approval_check" + type="object" + string="Checking/Approval" + attrs="{}"/> + <field name="status" widget="statusbar" + statusbar_visible="draft,pengajuan1,pengajuan2,pengajuan3,approved" + statusbar_colors='{"reject":"red"}' + readonly="1"/> + </header> + <sheet> + <h1> + <field name="number" readonly="1" class="oe_title"/> + </h1> + <group col="2"> + <group string=""> + <field name="applicant_name" colspan="2"/> + <field name="nominal" colspan="2"/> + <field name="bank_name" colspan="2"/> + <field name="account_name" colspan="2"/> + <field name="bank_account" colspan="2"/> + </group> + + <group string="" col="2"> + <field name="user_id" readonly="1"/> + <field name="departement_type"/> + <field name="status_pay_down_payment" readonly="1"/> + <field name="create_date" readonly="1"/> + </group> + </group> + + <group string=""> + <field name="detail_note"/> + </group> + </sheet> + </form> + </field> + </record> + <record id="view_tree_down_payment" model="ir.ui.view"> + <field name="name">down.payment.tree</field> + <field name="model">down.payment</field> + <field name="arch" type="xml"> + <tree> + <field name="number"/> + <field name="user_id" optional='hide'/> + <field name="applicant_name"/> + <field name="nominal"/> + <field name="departement_type" optional='hide'/> + <field name="status"/> + <field name="status_pay_down_payment"/> + </tree> + </field> + </record> + <record id="action_down_payment" model="ir.actions.act_window"> + <field name="name">Pengajuan Uang Muka (Down Payment)</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">down.payment</field> + <field name="view_mode">tree,form</field> + </record> + + <menuitem id="menu_down_payment" + name="Pengajuan Uang Muka (Down Payment)" + parent="sale.product_menu_catalog" + sequence="101" + action="action_down_payment" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/ir_sequence.xml b/indoteknik_custom/views/ir_sequence.xml index f2b42c3b..e959f562 100644 --- a/indoteknik_custom/views/ir_sequence.xml +++ b/indoteknik_custom/views/ir_sequence.xml @@ -200,5 +200,15 @@ <field name="number_next">1</field> <field name="number_increment">1</field> </record> + + <record id="sequence_down_payment" model="ir.sequence"> + <field name="name">Down Payment Sequence</field> + <field name="code">down.payment</field> + <field name="prefix">PUM/%(year)s/</field> + <field name="padding">5</field> + <field name="number_next">1</field> + <field name="number_increment">1</field> + <field name="active">True</field> + </record> </data> </odoo>
\ No newline at end of file |
