summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndriFP <113114423+andrifp@users.noreply.github.com>2025-09-11 21:27:09 +0700
committerAndriFP <113114423+andrifp@users.noreply.github.com>2025-09-11 21:27:09 +0700
commit73d249fd48d0aeae8ac77946f07668210e12ae7b (patch)
treedf84624ce152ff39de86600cac7512bece3af74e
parent5fedb89271610d5e504ef40af35bd74cdbf2928f (diff)
fix
-rw-r--r--indoteknik_custom/views/res_partner.xml2
-rwxr-xr-xindoteknik_custom/views/sale_order.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml
index 931a5937..7d5be3b7 100644
--- a/indoteknik_custom/views/res_partner.xml
+++ b/indoteknik_custom/views/res_partner.xml
@@ -21,7 +21,7 @@
<field name="reference_number"/>
</field>
<field name="property_payment_term_id" position="after">
- <!-- <field name="is_cbd_locked" readonly="1"/> -->
+ <field name="is_cbd_locked" readonly="1"/>
<field name="user_payment_terms_sales" readonly="1"/>
<field name="date_payment_terms_sales" readonly="1"/>
</field>
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index 542ffa0c..326fd560 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -41,7 +41,7 @@
string="Refund"
class="btn-primary" />
</xpath>
- <!-- <xpath expr="//sheet" position="before">
+ <xpath expr="//sheet" position="before">
<field name="partner_is_cbd_locked" invisible="1"/>
<div class="alert alert-danger"
role="alert"
@@ -49,7 +49,7 @@
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>
- </xpath> -->
+ </xpath>
<div class="oe_button_box" name="button_box">
<field name="advance_payment_move_ids" invisible="1"/>
<button name="action_open_advance_payment_moves"