diff options
| author | unknown <it@fixcomart.co.id> | 2025-09-18 10:51:54 +0700 |
|---|---|---|
| committer | unknown <it@fixcomart.co.id> | 2025-09-18 10:51:54 +0700 |
| commit | f90317f166fca9d6dc178044733d21d61a706d45 (patch) | |
| tree | d2e0ba33991093aaba839ee4c20434ed4251b0f9 | |
| parent | 6c7617432a986e43e94c8f72c1a9505042dc0b01 (diff) | |
(andri) move button and add payment diff di detail
| -rw-r--r-- | indoteknik_custom/views/unpaid_invoice_view.xml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/indoteknik_custom/views/unpaid_invoice_view.xml b/indoteknik_custom/views/unpaid_invoice_view.xml index e56bbee7..6d052eee 100644 --- a/indoteknik_custom/views/unpaid_invoice_view.xml +++ b/indoteknik_custom/views/unpaid_invoice_view.xml @@ -35,6 +35,12 @@ <field name="model">unpaid.invoice.view</field> <field name="arch" type="xml"> <form string="Unpaid Invoice Detail" create="false" edit="false" delete="false"> + <header> + <button name="action_create_surat_piutang" + type="object" + string="Create Surat Piutang" + class="oe_highlight"/> + </header> <sheet> <group> <group> @@ -46,6 +52,10 @@ <field name="date_kirim_tukar_faktur"/> <field name="date_terima_tukar_faktur"/> <field name="payment_term_id"/> + <button name="action_create_surat_piutang" + type="object" + string="Create Surat Piutang" + class="oe_highlight"/> </group> <group> <field name="sale_id"/> @@ -57,10 +67,10 @@ decoration-warning="payment_state == 'partial'"/> <field name="amount_total"/> <field name="amount_residual"/> - <button name="action_create_surat_piutang" - type="object" - string="Create Surat Piutang" - class="oe_highlight"/> + <field name="payment_difficulty" widget="badge" + decoration-info="payment_difficulty == 'normal'" + decoration-warning="payment_difficulty in ('agak_sulit', 'sulit')" + decoration-danger="payment_difficulty == 'bermasalah'"/> </group> </group> </sheet> |
