summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/refund_sale_order.xml
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-07-28 15:06:26 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-07-28 15:06:26 +0700
commitb4fa8f4df995f946b642eda78ca5fc2b8badada2 (patch)
tree693c6595a2628ded19a4525da7530075cccbfde4 /indoteknik_custom/views/refund_sale_order.xml
parent6983b0f81beb28b0df43c78e50dbcf310235a9dd (diff)
<hafid> fixing journal
Diffstat (limited to 'indoteknik_custom/views/refund_sale_order.xml')
-rw-r--r--indoteknik_custom/views/refund_sale_order.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/views/refund_sale_order.xml b/indoteknik_custom/views/refund_sale_order.xml
index 4f791722..0c4eaa56 100644
--- a/indoteknik_custom/views/refund_sale_order.xml
+++ b/indoteknik_custom/views/refund_sale_order.xml
@@ -66,7 +66,7 @@
string="Journal Refund"
type="object"
class="oe_highlight"
- attrs="{'invisible': ['|', ('status', 'not in', ['pengajuan3','refund']), ('journal_refund_state', '=', 'posted')]}"/>
+ attrs="{'invisible': [('journal_refund_state', '=', 'posted')]}"/>
<field name="status"
widget="statusbar"
@@ -117,8 +117,8 @@
<field name="note_refund" attrs="{'readonly': [('is_locked', '=', True)]}"/>
</group>
<group>
- <field name="uang_masuk" attrs="{'readonly': [('is_locked', '=', True)]}"/>
- <field name="total_invoice" attrs="{'readonly': [('is_locked', '=', True)]}"/>
+ <field name="uang_masuk" attrs="{'readonly': ['|', ('is_locked', '=', True), ('refund_type', '=', 'barang_kosong_sebagian')]}"/>
+ <field name="total_invoice" readonly="1"/>
<field name="ongkir" attrs="{'readonly': [('is_locked', '=', True)]}"/>
<field name="amount_refund" attrs="{'readonly': [('is_locked', '=', True)]}"/>
<field name="amount_refund_text" readonly="1"/>