summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_move.xml
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2025-08-30 07:07:36 +0000
committerIT Fixcomart <it@fixcomart.co.id>2025-08-30 07:07:36 +0000
commit39ba067b1bb178e38226da76cd7d1190c15b0fb5 (patch)
tree9f12d3842d9ee8ef2c121c19b88cc7776c6fab58 /indoteknik_custom/views/account_move.xml
parent7186c4657cb85d2175222b4bebc55456e6970a3a (diff)
parent19e63a5715369a740f209c49115a90967a6aa7d6 (diff)
Merged in refund_system (pull request #396)
Refund system
Diffstat (limited to 'indoteknik_custom/views/account_move.xml')
-rw-r--r--indoteknik_custom/views/account_move.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
index b399d4c9..1b477c6d 100644
--- a/indoteknik_custom/views/account_move.xml
+++ b/indoteknik_custom/views/account_move.xml
@@ -38,9 +38,9 @@
<!-- <field name="purchase_order_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}"/> -->
</field>
<field name="ref" position="after">
- <field name="sale_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'entry')]}"/>
- <!-- <field name="refund_so_links" readonly="1" widget="html" attrs="{'invisible': ['|', ('move_type', '!=', 'entry'), ('has_refund_so', '=', False)]}"/>
- <field name="has_refund_so" invisible="1"/> -->
+ <field name="sale_id" readonly="1" attrs="{'invisible': ['|', ('move_type', '!=', 'entry'), ('has_refund_so', '=', True)]}"/>
+ <field name="refund_so_links" readonly="1" widget="html" attrs="{'invisible': ['|', ('move_type', '!=', 'entry'), ('has_refund_so', '=', False)]}"/>
+ <field name="has_refund_so" invisible="1"/>
</field>
<field name="reklas_misc_id" position="after">
<field name="purchase_order_id" context="{'form_view_ref': 'purchase.purchase_order_form'}" options="{'no_create': True}"/>