summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-06-12 14:34:46 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-06-12 14:34:46 +0700
commitb769519638ab109f3e7876aa056b9c1db58ed1b5 (patch)
tree0892e1bd1f863f6b95fa5cdc4ae9b0455201c77d
parente388c47f7464291cf3b43c52f57277f41d604822 (diff)
update create multi uang muka
-rw-r--r--indoteknik_custom/models/purchase_order_multi_uangmuka.py2
-rw-r--r--indoteknik_custom/views/purchase_order_multi_uangmuka.xml2
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 @@
<field name="total_amt" readonly="1"/>
</group>
<footer>
- <button name="save_multi_create_uang_muka" string="Update Paid Status" type="object" default_focus="1" class="oe_highlight"/>
+ <button name="save_multi_create_uang_muka" string="Create Uang Muka" type="object" default_focus="1" class="oe_highlight"/>
<button string="Cancel" class="btn btn-secondary" special="cancel" />
</footer>
</form>