fix: change float types in payment entry reference table to currency

(cherry picked from commit 8ba71300db)

# Conflicts:
#	erpnext/accounts/doctype/payment_entry_reference/payment_entry_reference.json
This commit is contained in:
trustedcomputer
2026-01-05 14:21:31 -08:00
committed by ruthra kumar
parent 9bba78f7a2
commit d17debabf7
2 changed files with 7 additions and 7 deletions

View File

@@ -68,7 +68,7 @@
{ {
"columns": 2, "columns": 2,
"fieldname": "total_amount", "fieldname": "total_amount",
"fieldtype": "Float", "fieldtype": "Currency",
"in_list_view": 1, "in_list_view": 1,
"label": "Grand Total", "label": "Grand Total",
"print_hide": 1, "print_hide": 1,
@@ -77,7 +77,7 @@
{ {
"columns": 2, "columns": 2,
"fieldname": "outstanding_amount", "fieldname": "outstanding_amount",
"fieldtype": "Float", "fieldtype": "Currency",
"in_list_view": 1, "in_list_view": 1,
"label": "Outstanding", "label": "Outstanding",
"read_only": 1 "read_only": 1
@@ -85,7 +85,7 @@
{ {
"columns": 2, "columns": 2,
"fieldname": "allocated_amount", "fieldname": "allocated_amount",
"fieldtype": "Float", "fieldtype": "Currency",
"in_list_view": 1, "in_list_view": 1,
"label": "Allocated" "label": "Allocated"
}, },
@@ -174,7 +174,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"istable": 1, "istable": 1,
"links": [], "links": [],
"modified": "2025-07-25 04:32:11.040025", "modified": "2026-01-05 14:18:03.286224",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Accounts", "module": "Accounts",
"name": "Payment Entry Reference", "name": "Payment Entry Reference",

View File

@@ -18,12 +18,12 @@ class PaymentEntryReference(Document):
account_type: DF.Data | None account_type: DF.Data | None
advance_voucher_no: DF.DynamicLink | None advance_voucher_no: DF.DynamicLink | None
advance_voucher_type: DF.Link | None advance_voucher_type: DF.Link | None
allocated_amount: DF.Float allocated_amount: DF.Currency
bill_no: DF.Data | None bill_no: DF.Data | None
due_date: DF.Date | None due_date: DF.Date | None
exchange_gain_loss: DF.Currency exchange_gain_loss: DF.Currency
exchange_rate: DF.Float exchange_rate: DF.Float
outstanding_amount: DF.Float outstanding_amount: DF.Currency
parent: DF.Data parent: DF.Data
parentfield: DF.Data parentfield: DF.Data
parenttype: DF.Data parenttype: DF.Data
@@ -34,7 +34,7 @@ class PaymentEntryReference(Document):
reconcile_effect_on: DF.Date | None reconcile_effect_on: DF.Date | None
reference_doctype: DF.Link reference_doctype: DF.Link
reference_name: DF.DynamicLink reference_name: DF.DynamicLink
total_amount: DF.Float total_amount: DF.Currency
# end: auto-generated types # end: auto-generated types
@property @property