Hi guys!
I am overriding the dashboard of Journal Entry. I want to add Payment Entry in the connection tab, but the Journal Entry ID is linked inside the Payment Entry child table which is Payment Entry Reference. How am I able to implement this?
I recently tried this but it doesn’t work for me
#Note: this function has already hooks
def override_journal_entry_dashboard(data):
data[“non_standard_fieldnames”].update({
“Payment Entry Reference”: “references.reference_name”
})
data[“transactions”].append({
“label”: _(“Payment”),
“items”: [“Payment Entry”]
})
return data