mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
Merge branch 'develop' of https://github.com/frappe/erpnext into demo_data_on_install
This commit is contained in:
@@ -461,11 +461,9 @@ def install_defaults(args=None): # nosemgrep
|
||||
|
||||
def set_global_defaults(args):
|
||||
global_defaults = frappe.get_doc("Global Defaults", "Global Defaults")
|
||||
current_fiscal_year = frappe.get_all("Fiscal Year")[0]
|
||||
|
||||
global_defaults.update(
|
||||
{
|
||||
"current_fiscal_year": current_fiscal_year.name,
|
||||
"default_currency": args.get("currency"),
|
||||
"default_company": args.get("company_name"),
|
||||
"country": args.get("country"),
|
||||
|
||||
Reference in New Issue
Block a user