diff --git a/erpnext/patches/jan_mar_2012/website/all.py b/erpnext/patches/jan_mar_2012/website/all.py index 03b79775e1..d6ad3b11a4 100644 --- a/erpnext/patches/jan_mar_2012/website/all.py +++ b/erpnext/patches/jan_mar_2012/website/all.py @@ -2,9 +2,11 @@ import patches.jan_mar_2012.website.login import patches.jan_mar_2012.website.feed import patches.jan_mar_2012.website.website import patches.jan_mar_2012.website.cleanups +import patches.jan_mar_2012.website.domain_list def execute(): patches.jan_mar_2012.website.login.execute() patches.jan_mar_2012.website.feed.execute() patches.jan_mar_2012.website.website.execute() - patches.jan_mar_2012.website.cleanups.execute() \ No newline at end of file + patches.jan_mar_2012.website.cleanups.execute() + patches.jan_mar_2012.website.domain_list.execute() diff --git a/erpnext/setup/doctype/setup_control/setup_control.py b/erpnext/setup/doctype/setup_control/setup_control.py index 194da7a4be..8bfebd00e2 100644 --- a/erpnext/setup/doctype/setup_control/setup_control.py +++ b/erpnext/setup/doctype/setup_control/setup_control.py @@ -151,7 +151,7 @@ class DocType: for d in def_args.keys(): ma_obj.doc.fields[d] = def_args[d] ma_obj.doc.save() - ma_obj.update_cp() + ma_obj.on_update() # Set Control Panel Defaults