Unable to get party in general ledger

Hi

after a update i am not able to get account and party in general ledger
in console getting below error
query_report.js:606 Uncaught (in promise) TypeError: Cannot read property ‘fieldname’ of undefined
at query_report.js:606
at Array.reduce ()
at Object.get (query_report.js:605)
at on_change (:75:12)
at o.e.onchange (query_report.js:156)
at base_control.js:168
(anonymous) @ query_report.js:606
get @ query_report.js:605
on_change @ VM103:75
e.onchange @ query_report.js:156
(anonymous) @ base_control.js:168
query_report.js:606 Uncaught (in promise) TypeError: Cannot read property ‘fieldname’ of undefined
at query_report.js:606
at Array.reduce ()
at Object.get (query_report.js:605)
at on_change (:75:12)
at o.e.onchange (query_report.js:156)
at base_control.js:168
(anonymous) @ query_report.js:606
get @ query_report.js:605
on_change @ VM103:75
e.onchange @ query_report.js:156
(anonymous) @ base_control.js:168

Please check all fields are present in the Document or not. fieldname is a property of DocField that is fields in the doctype.

The entries are already there if i choose customer it should show the list of customer, after selecting the customer in party type the party is populating with the list of customer

even on selecting the supplier the error resists

A fix for this has been pushed, pull it as soon as it gets merged :+1:
https://github.com/frappe/frappe/pull/5825

after making the change to js still the error is same

You’ll need to do a hard reload by pressing “Ctrl + shift + R” and will also need to run bench build in your bench terminal to see the changes take effect.

Thanks sir its done after rebuilding the js