diff --git a/erpnext/patches/v8_0/create_domain_docs.py b/erpnext/patches/v8_0/create_domain_docs.py index 1fa3b29a76c..f04a7e663ce 100644 --- a/erpnext/patches/v8_0/create_domain_docs.py +++ b/erpnext/patches/v8_0/create_domain_docs.py @@ -36,6 +36,6 @@ def execute(): if domain in checked_domains: continue - row = domain_settings.append("active_domains", dict(domain=args.domain)) + row = domain_settings.append("active_domains", dict(domain=domain)) domain_settings.save(ignore_permissions=True) \ No newline at end of file