commit | ac1961b687f76987cb8095d76d4b3e1cb67d766c | [log] [tgz] |
---|---|---|
author | Devin Slauenwhite <devin.slauenwhite@gmail.com> | Fri Mar 08 18:09:11 2024 -0500 |
committer | GitHub <noreply@github.com> | Fri Mar 08 18:09:11 2024 -0500 |
tree | 72983093443298b26f5fdb5fe5d4883e23a4b25f | |
parent | 55b9664115bb0451643cc518d9d8e7478a3ee63a [diff] [blame] |
fix: get_user_default_as_list args order
diff --git a/erpnext/__init__.py b/erpnext/__init__.py index 48ebe92..1c1c10c 100644 --- a/erpnext/__init__.py +++ b/erpnext/__init__.py
@@ -13,7 +13,7 @@ if not user: user = frappe.session.user - companies = get_user_default_as_list(user, "company") + companies = get_user_default_as_list("company", user) if companies: default_company = companies[0] else: