diff options
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/unpaid_invoice_view.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/indoteknik_custom/views/unpaid_invoice_view.xml b/indoteknik_custom/views/unpaid_invoice_view.xml index e56bbee7..ec6c749d 100644 --- a/indoteknik_custom/views/unpaid_invoice_view.xml +++ b/indoteknik_custom/views/unpaid_invoice_view.xml @@ -46,6 +46,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 +61,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> |
