diff options
| author | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-18 15:26:50 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-18 15:26:50 +0700 |
| commit | a4363a5468a5a9d6a3815cb8ae304fe1da3aef30 (patch) | |
| tree | caf2b1280cd19e4e4ede9574000da34d7b804ec1 /indoteknik_custom/views/advance_payment_request.xml | |
| parent | ef67567976a24d59fe8859b55480e4053b64f65f (diff) | |
(andri) fix field + readonly action view journal
Diffstat (limited to 'indoteknik_custom/views/advance_payment_request.xml')
| -rw-r--r-- | indoteknik_custom/views/advance_payment_request.xml | 3 |
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"> |
