summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-21 16:05:39 +0700
committerFIN-IT_AndriFP <it@fixcomart.co.id>2025-10-21 16:05:39 +0700
commit58a6ca75b9b1bb07ea958ab4bfb553140daeb8f8 (patch)
treea27620da3e8efa57ca1948975e108d20f959e89d /indoteknik_custom/views
parentee41e453f3d7b1042ac0af4fbf51741503308781 (diff)
(andri) fix add pum + fix lock view
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/advance_payment_settlement.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/indoteknik_custom/views/advance_payment_settlement.xml b/indoteknik_custom/views/advance_payment_settlement.xml
index d6eaa649..8c831be4 100644
--- a/indoteknik_custom/views/advance_payment_settlement.xml
+++ b/indoteknik_custom/views/advance_payment_settlement.xml
@@ -125,8 +125,9 @@
</group>
<group string="Finance">
- <field name="account_id"/>
- <field name="done_attachment"/>
+ <field name="is_current_user_ap" invisible="1"/>
+ <field name="account_id" attrs="{'readonly': [('is_current_user_ap', '=', False)]}"/>
+ <field name="done_attachment" attrs="{'readonly': [('is_current_user_ap', '=', False)]}"/>
</group>
</group>
</form>