summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2025-12-17 16:51:17 +0700
committerFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2025-12-17 16:51:17 +0700
commita8de47d71da75c9351da76ac87ba6046d5b152c3 (patch)
tree1a3ff16820bbcb76b42ab7245b985544d632dae6
parent52754dc7663c45a7609e5d4a57119ef26ecb5190 (diff)
(andri) penambahan field pada tree realisasi PUM
-rw-r--r--indoteknik_custom/models/advance_payment_request.py2
-rw-r--r--indoteknik_custom/views/advance_payment_settlement.xml7
2 files changed, 6 insertions, 3 deletions
diff --git a/indoteknik_custom/models/advance_payment_request.py b/indoteknik_custom/models/advance_payment_request.py
index d379eac8..f973a9da 100644
--- a/indoteknik_custom/models/advance_payment_request.py
+++ b/indoteknik_custom/models/advance_payment_request.py
@@ -1072,7 +1072,7 @@ class AdvancePaymentSettlement(models.Model):
], string = "Banyaknya Attachment", default='one_for_one_line')
move_id = fields.Many2one('account.move', string='Journal Entries', domain=[('move_type', '=', 'entry')])
- is_cab_visible = fields.Boolean(string='Is Journal Uang Muka Visible', compute='_compute_is_cab_visible')
+ is_cab_visible = fields.Boolean(string='Status Jurnal', compute='_compute_is_cab_visible')
user_id = fields.Many2one(
'res.users',
diff --git a/indoteknik_custom/views/advance_payment_settlement.xml b/indoteknik_custom/views/advance_payment_settlement.xml
index a77baffe..c2b6a26f 100644
--- a/indoteknik_custom/views/advance_payment_settlement.xml
+++ b/indoteknik_custom/views/advance_payment_settlement.xml
@@ -163,10 +163,13 @@
<field name="arch" type="xml">
<tree create="false" delete="false">
<field name="name"/>
- <field name="pum_id"/>
- <field name="grand_total_use" string="Total Realisasi"/>
+ <field name="applicant_name"/>
+ <!-- <field name="pum_id"/> -->
+ <field name="nominal_pum" string="Total Pengajuan"/>
+ <field name="grand_total_use" string="Total Penggunaan"/>
<field name="remaining_value" string="Sisa PUM"/>
<field name="status" widget="badge" decoration-success="status == 'approved'"/>
+ <field name="is_cab_visible" widget="boolean"/>
</tree>
</field>
</record>