summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/sale_order.xml
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-11-12 10:12:28 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-11-12 10:12:28 +0700
commit563e63fa97fa5734601f95ab3c9961c11f1e33fe (patch)
treebe6eae92deb224e034641ef137634e5f8666a4df /indoteknik_custom/views/sale_order.xml
parent583a8e3064790a06063d5dc1b06ed8122bb22e4e (diff)
<Miqdad> merge
Diffstat (limited to 'indoteknik_custom/views/sale_order.xml')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index b2ecc21c..3e424788 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -55,6 +55,10 @@
attrs="{'invisible':['|', ('partner_is_cbd_locked','=',False), ('state', 'not in', ['draft', 'cancel'])]}">
<strong>Warning!</strong> Payment Terms Customer terkunci menjadi <b>Cash Before Delivery (C.B.D.)</b> karena ada invoice telah jatuh tempo <b>30 hari</b>. Silakan ajukan <b>Approval Payment Term</b> untuk membuka kunci.
</div>
+ <widget name="web_ribbon"
+ title="FIKTIF"
+ bg_color="bg-danger"
+ attrs="{'invisible': [('is_so_fiktif', '=', False)]}"/>
</xpath>
<div class="oe_button_box" name="button_box">
<field name="advance_payment_move_ids" invisible="1"/>
@@ -499,8 +503,8 @@
<field name="date_kirim_ril"/>
<field name="date_driver_departure"/>
<field name="date_driver_arrival"/>
- <field name="payment_state_custom" widget="badge"
- decoration-danger="payment_state_custom == 'unpaid'"
+ <field name="payment_state_custom" widget="badge"
+ decoration-danger="payment_state_custom == 'unpaid'"
decoration-success="payment_state_custom == 'paid'"
decoration-warning="payment_state_custom == 'partial'" optional="hide"/>
<field name="unreserved_percent" widget="percentpie" string="Unreserved" optional="hide"/>