From e8928b8bff5305a1779c93d2a311bbb068f26eea Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 13 Feb 2012 17:56:59 +0530 Subject: [PATCH] website settings --- erpnext/patches/jan_mar_2012/website/all.py | 4 +++- erpnext/setup/doctype/setup_control/setup_control.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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