mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
[setup] remove redundant code
- [fix] domain setup from dictionary
This commit is contained in:
@@ -396,7 +396,7 @@ def install_defaults(args=None):
|
||||
system_settings.save()
|
||||
|
||||
domain_settings = frappe.get_single('Domain Settings')
|
||||
domain_settings.set_active_domains([args.domain])
|
||||
domain_settings.set_active_domains([args.get('domain')])
|
||||
|
||||
stock_settings = frappe.get_doc("Stock Settings")
|
||||
stock_settings.item_naming_by = "Item Code"
|
||||
|
||||
Reference in New Issue
Block a user