From b769519638ab109f3e7876aa056b9c1db58ed1b5 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Wed, 12 Jun 2024 14:34:46 +0700 Subject: update create multi uang muka --- indoteknik_custom/models/purchase_order_multi_uangmuka.py | 2 +- indoteknik_custom/views/purchase_order_multi_uangmuka.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indoteknik_custom/models/purchase_order_multi_uangmuka.py b/indoteknik_custom/models/purchase_order_multi_uangmuka.py index 28c573eb..feb13cbc 100644 --- a/indoteknik_custom/models/purchase_order_multi_uangmuka.py +++ b/indoteknik_custom/models/purchase_order_multi_uangmuka.py @@ -104,7 +104,7 @@ class PurchaseOrderMultiUangmuka(models.TransientModel): 'currency_id': 12, 'debit': 0, 'credit': pay_amt, - 'name': f'UANG MUKA PEMBELIAN {order.name} {partner}', + 'name': ref_label, } debit_entries.append(param_credit) diff --git a/indoteknik_custom/views/purchase_order_multi_uangmuka.xml b/indoteknik_custom/views/purchase_order_multi_uangmuka.xml index 68290cfa..56711b94 100644 --- a/indoteknik_custom/views/purchase_order_multi_uangmuka.xml +++ b/indoteknik_custom/views/purchase_order_multi_uangmuka.xml @@ -17,7 +17,7 @@ -- cgit v1.2.3