diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-08-22 11:08:08 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-08-22 11:08:08 +0700 |
| commit | a70798e97805e6c0befb6835abf6637dbac1dd8c (patch) | |
| tree | 1d7cbcf2a0a7c78b806300b5f14b607f0182f2f3 /indoteknik_custom/views | |
| parent | bbc454fd6e13d12e9674769a555264f2c2343b5b (diff) | |
<hafid> ngambil bu out untuk retur
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/refund_sale_order.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indoteknik_custom/views/refund_sale_order.xml b/indoteknik_custom/views/refund_sale_order.xml index dd47c2ab..3c60cc57 100644 --- a/indoteknik_custom/views/refund_sale_order.xml +++ b/indoteknik_custom/views/refund_sale_order.xml @@ -79,6 +79,13 @@ statusbar_visible="draft,pengajuan1,pengajuan2,pengajuan3,refund" attrs="{'invisible': [('status', '=', 'reject')]}" /> </header> + <xpath expr="//sheet" position="inside"> + <field name="show_return_alert" invisible="1"/> + <div class="alert alert-info" role="alert" + attrs="{'invisible': [('show_return_alert', '=', False)]}"> + ⚠️ SO belum melakukan retur barang. Silakan buat pengajuan retur. + </div> + </xpath> <sheet> <div class="oe_button_box" name="button_box"> <button name="action_open_journal_refund" @@ -118,7 +125,7 @@ <field name="note_refund" attrs="{'readonly': [('is_locked', '=', True)]}"/> </group> <group> - <field name="uang_masuk" readonly="1"/> + <field name="uang_masuk" attrs="{'readonly': [('refund_type', '!=', 'salah_transfer')]}"/> <field name="total_invoice" readonly="1"/> <field name="ongkir" attrs="{'readonly': [('is_locked', '=', True)]}"/> <field name="amount_refund" attrs="{'readonly': [('is_locked', '=', True)]}"/> |
