diff options
| author | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-07 13:19:52 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-07 13:19:52 +0700 |
| commit | 017c502380045ee8212932b25f9f94ee2e7b0c40 (patch) | |
| tree | 18a4f25e1656de09beb1efee41d4d1586ebc6b6a /indoteknik_custom/views | |
| parent | 5e34ad0df7287da35089c29812a208d15598aa06 (diff) | |
(andri) add type request
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/advance_payment_request.xml | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/indoteknik_custom/views/advance_payment_request.xml b/indoteknik_custom/views/advance_payment_request.xml index 1610293f..20f43961 100644 --- a/indoteknik_custom/views/advance_payment_request.xml +++ b/indoteknik_custom/views/advance_payment_request.xml @@ -62,15 +62,18 @@ </div> <group col="2"> <group string=""> + <field name="type_request" attrs="{'readonly': [('status', '=', 'approved')]}"/> <field name="applicant_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/> <field name="nominal" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/> <field name="bank_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/> <field name="account_name" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/> <field name="bank_account" colspan="2" attrs="{'readonly': [('status', '=', 'approved')]}"/> <field name="detail_note" attrs="{'readonly': [('status', '=', 'approved')]}"/> - <hr/> + </group> + + <group> <field name="user_id" readonly="1"/> - <field name="partner_id" readonly="1"/> + <!-- <field name="partner_id" readonly="1"/> --> <field name="departement_type"/> <field name="status_pay_down_payment" readonly="1" @@ -85,20 +88,23 @@ <field name="reason_reject" attrs="{'invisible': [('status', '!=', 'reject')], 'readonly': True}"/> </group> - <group> - <field name="attachment_type" attrs="{'readonly': [('status', '=', 'approved')]}"/> - - <field name="attachment_file_pdf" filename="attachment_filename" - widget="pdf_viewer" - attrs="{'invisible': [('attachment_type', '!=', 'pdf')], 'readonly': [('status', '=', 'approved')]}"/> - - <field name="attachment_file_image" filename="attachment_filename" - widget="image" - attrs="{'invisible': [('attachment_type', '!=', 'image')], 'readonly': [('status', '=', 'approved')]}" - style="max-width:250px; max-height:250px; object-fit:contain;"/> - <br/> - </group> + <notebook> + <page string="Attachment"> + <field name="attachment_type" attrs="{'readonly': [('status', '=', 'approved')]}"/> + <field name="attachment_file_pdf" filename="attachment_filename" + widget="pdf_viewer" + attrs="{'invisible': [('attachment_type', '!=', 'pdf')], 'readonly': [('status', '=', 'approved')]}"/> + <field name="attachment_file_image" filename="attachment_filename" + widget="image" + attrs="{'invisible': [('attachment_type', '!=', 'image')], 'readonly': [('status', '=', 'approved')]}" + style="max-width:250px; max-height:250px; object-fit:contain;"/> + <br/> + </page> + <page string="Reimburse" attrs="{'invisible': [('type_request', '!=', 'reimburse')]}"> + <h1>Hello World HEHE</h1> + </page> + </notebook> </group> </sheet> <div class="oe_chatter"> |
