summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-02-23 11:02:00 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-02-23 11:02:00 +0700
commitd108fdcf6994664bf7475f1e7fdce76e2597a2a2 (patch)
treec475cf3a2f4b638b091a8a66069381fd43ac7ee1
parenta74cf187f1e25edc18b7718c53af9f74554cfed8 (diff)
<Miqdad> show SO and invoice mp in credit note
-rw-r--r--fixco_custom/views/account_move.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/fixco_custom/views/account_move.xml b/fixco_custom/views/account_move.xml
index ee3cd20..3618ec7 100644
--- a/fixco_custom/views/account_move.xml
+++ b/fixco_custom/views/account_move.xml
@@ -65,7 +65,7 @@
</xpath>
<field name="payment_reference" position="after">
- <field name="invoice_marketplace" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/>
+ <field name="invoice_marketplace" readonly="1" attrs="{'invisible': [('move_type', 'not in', ('out_invoice','out_refund'))]}"/>
<field name="faktur_pajak" readonly="1" attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}"/>
<field name="transaction_type" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/>
</field>
@@ -87,7 +87,7 @@
</field>
<field name="invoice_date" position="after">
<field name="approval_refund" readonly="1" attrs="{'invisible': [('move_type', 'not in', ('entry'))]}"/>
- <field name="sale_id" readonly="1" attrs="{'invisible': [('move_type', 'not in', ('out_invoice','entry'))]}"/>
+ <field name="sale_id" readonly="1" attrs="{'invisible': [('move_type', 'not in', ('out_invoice','entry', 'out_refund'))]}"/>
<field name="purchase_order_id" readonly="1" attrs="{'invisible': [('move_type', 'not in', ('in_invoice','entry'))]}"/>
<field name="soo_number" readonly="1"/>
<field name="picking_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/>