summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/advance_payment_request.xml
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views/advance_payment_request.xml')
-rw-r--r--indoteknik_custom/views/advance_payment_request.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/views/advance_payment_request.xml b/indoteknik_custom/views/advance_payment_request.xml
index ba565ce7..073fa815 100644
--- a/indoteknik_custom/views/advance_payment_request.xml
+++ b/indoteknik_custom/views/advance_payment_request.xml
@@ -51,11 +51,12 @@
<field name="settlement_name" widget="statinfo" string="Realisasi PUM"/>
</button>
<field name="is_cab_visible" invisible="1"/>
+ <field name="is_current_user_ap" invisible="1"/>
<button type="object"
name="action_view_journal_uangmuka"
class="oe_stat_button"
icon="fa-book"
- attrs="{'invisible': [('is_cab_visible', '=', False)]}"
+ attrs="{'invisible': [('is_cab_visible', '=', False)], 'readonly': [('is_current_user_ap', '=', False)]}"
style="width: 200px;">
<field name="move_id" widget="statinfo" string="Journal Uang Muka"/>
<span class="o_stat_text">