diff options
| author | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-14 13:23:26 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-14 13:23:26 +0700 |
| commit | 545d32974a0d18a4a6560ad222ca5ab7cd0552f6 (patch) | |
| tree | b8e09100b70c3d1daf8ea8e2b0fa95ee6133b6af /indoteknik_custom/views/advance_payment_request.xml | |
| parent | 8934f93e02ca6c0616c7932b4cc615adbde3d3e0 (diff) | |
(andri) add realisasi di oe button, revisi make CAB, add date upload bukti tf
Diffstat (limited to 'indoteknik_custom/views/advance_payment_request.xml')
| -rw-r--r-- | indoteknik_custom/views/advance_payment_request.xml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/indoteknik_custom/views/advance_payment_request.xml b/indoteknik_custom/views/advance_payment_request.xml index 297d2a7a..a8eec4f3 100644 --- a/indoteknik_custom/views/advance_payment_request.xml +++ b/indoteknik_custom/views/advance_payment_request.xml @@ -8,9 +8,9 @@ <header> <button name="action_realisasi_pum" type="object" - string="Settlement" + string="Realisasi" class="btn-primary" - attrs="{'invisible': [('status', 'not in', 'approved')]}"/> + attrs="{'invisible': ['|', ('status', '!=', 'approved'), ('has_settlement', '=', True)]}"/> <button name="action_draft" string="Reset to Draft" attrs="{'invisible': [('status', '!=', 'reject')]}" @@ -43,7 +43,16 @@ <sheet> <widget name="web_ribbon" title="Payment" attrs="{'invisible': ['|', ('status_pay_down_payment', '!=', 'payment'), ('status', '=', 'draft')]}"/> <widget name="web_ribbon" title="Pending" bg_color="bg-danger" attrs="{'invisible': ['|', ('status_pay_down_payment', '!=', 'pending'), ('status', '=', 'draft')]}"/> - <div class="oe_button_box" name="button_box"> + <div class="oe_button_box" name="button_box" style="right: 150px;"> + <field name="has_settlement" invisible="1"/> + <button name="action_realisasi_pum" + type="object" + class="oe_stat_button" + icon="fa-check-square-o" + attrs="{'invisible': [('status', '!=', 'approved')]}"> + <!-- <field name="settlement_ids" widget="statinfo" string="Realisasi PUM"/> --> + <field name="settlement_name" class="o_stat_text" nolabel="1"/> + </button> <field name="is_cab_visible" invisible="1"/> <button type="object" name="action_view_journal_uangmuka" @@ -81,8 +90,8 @@ <field name="apr_perjalanan" attrs="{'invisible': [('type_request', '=', 'reimburse')]}"/> <field name="date_back_to_office" attrs="{'invisible': [('apr_perjalanan', '=', False)]}"/> <p style="font-size: 10px; color: grey; font-style: italic" attrs="{'invisible': [('apr_perjalanan', '=', False)]}">*Setelah tanggal kembali, pemohon diharapkan untuk segera memproses realisasi PUM</p> - <field name="estimated_return_date" readonly="1" widget="badge"/> - <field name="days_remaining" readonly="1" widget="badge"/> + <field name="estimated_return_date" readonly="1" widget="badge" attrs="{'invisible': [('type_request', '=', 'reimburse')]}"/> + <field name="days_remaining" readonly="1" widget="badge" attrs="{'invisible': [('type_request', '=', 'reimburse')]}"/> <field name="approved_by" readonly="1"/> <field name="create_date" readonly="1"/> <field name="status_pay_down_payment" @@ -93,6 +102,7 @@ <field name="reason_reject" attrs="{'invisible': [('status', '!=', 'reject')], 'readonly': True}"/> </group> <group string="Bukti Transfer"> + <field name="upload_attachment_date" readonly="1"/> <field name="attachment_type" attrs="{'readonly': [('status', '=', 'approved')]}"/> <field name="attachment_file_pdf" filename="attachment_filename" widget="pdf_viewer" |
