diff options
| -rw-r--r-- | indoteknik_custom/views/advance_payment_request.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/views/advance_payment_request.xml b/indoteknik_custom/views/advance_payment_request.xml index 60042554..ebd4a704 100644 --- a/indoteknik_custom/views/advance_payment_request.xml +++ b/indoteknik_custom/views/advance_payment_request.xml @@ -86,12 +86,12 @@ <group string=" "> <field name="type_request" attrs="{'readonly': [('status', '=', 'approved')]}"/> <field name="is_represented" attrs="{'readonly': [('status', '=', 'approved')]}"/> - <field name="applicant_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/> + <field name="applicant_name" colspan="2" attrs="{'readonly': ['|', ('status', '=', 'approved'), ('is_represented', '=', False)]}" force_save="1"/> <field name="position_type" force_save="1" readonly="1"/> <field name="nominal" colspan="2" attrs="{'readonly': ['|', ('status', '=', 'approved'), ('type_request', '=', 'reimburse')]}" force_save="1"/> <p style="font-size: 10px; color: grey; font-style: italic" attrs="{'invisible': [('type_request', '!=', 'reimburse')]}">*Nominal terisi otomatis sesuai grand total rincian reimburse</p> <field name="bank_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/> - <field name="account_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/> + <field name="account_name" colspan="2" attrs="{'readonly': ['|', ('status', '=', 'approved'), ('is_represented', '=', False)]}" force_save="1"/> <field name="bank_account" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/> <field name="detail_note" attrs="{'readonly': [('status', '=', 'approved')]}"/> <br/> |
