summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/refund_sale_order.xml
diff options
context:
space:
mode:
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"/>