fix: Use can_read API
diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js
index 86fa70d..dcc15fb 100755
--- a/erpnext/public/js/utils.js
+++ b/erpnext/public/js/utils.js
@@ -65,7 +65,7 @@
 	},
 
 	get_dimension_filters: async function() {
-		if (!frappe.boot.user.can_read.includes('Accounting Dimension')) {
+		if (!frappe.model.can_read('Accounting Dimension')) {
 			return
 		}
 		let dimensions = await frappe.db.get_list('Accounting Dimension', {