Hi @jroyDC,
Perhaps it used to function in the previous version, but it was removed because sometimes users or clients don’t need to get all accounts when entering the opening data.
However, if you require it, you can apply a client script for that purpose.
frappe.ui.form.on('Journal Entry', {
voucher_type: function(frm) {
if (frm.doc.voucher_type === "Opening Entry") {
frm.clear_table("accounts");
frappe.db.get_list('Account', {
filters: { 'is_group': 0, 'company': frm.doc.company },
fields: ['name'],
limit: null
}).then(accounts => {
accounts.forEach(account => {
var row = frappe.model.add_child(frm.doc, "Journal Entry Account", "accounts");
row.account = account.name;
});
frm.refresh_field("accounts");
});
}
}
});
Please set it according to the scenario.
I hope this helps.
Thank You!