fix: use user default for company instead of global default in purchase order analysis report

This commit is contained in:
Ayush Marhatta
2025-06-02 18:21:07 +05:45
committed by GitHub
parent 56fc76f180
commit 49f23513e0

View File

@@ -10,7 +10,7 @@ frappe.query_reports["Purchase Order Analysis"] = {
width: "80",
options: "Company",
reqd: 1,
default: frappe.defaults.get_default("company"),
default: frappe.defaults.get_user_default("company"),
},
{
fieldname: "from_date",