summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/unpaid_invoice_view.xml
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-09-25 09:04:32 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-09-25 09:04:32 +0700
commit65c0ccd8b6befa65e912e9a0126cf2ef8bdd78d7 (patch)
tree3ce6d9106c644f84f2a908f1642846a689075fe1 /indoteknik_custom/views/unpaid_invoice_view.xml
parent8b179c22149366ecf4dd9de6e5e7b5be612e355b (diff)
parentcd0592f7b7248d25d1b7de728af87117ae0b5876 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into closing-apt
Diffstat (limited to 'indoteknik_custom/views/unpaid_invoice_view.xml')
-rw-r--r--indoteknik_custom/views/unpaid_invoice_view.xml12
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>