From 9bddd836045d028087d2480e299e52a29003317f Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 19 Mar 2013 18:40:35 +0530 Subject: [PATCH 1/2] fix in global defaults --- setup/doctype/global_defaults/global_defaults.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/doctype/global_defaults/global_defaults.py b/setup/doctype/global_defaults/global_defaults.py index 6f3ab4a71d..8d94a03aa5 100644 --- a/setup/doctype/global_defaults/global_defaults.py +++ b/setup/doctype/global_defaults/global_defaults.py @@ -43,6 +43,7 @@ keydict = { 'maintain_same_rate' : 'maintain_same_rate', 'session_expiry': 'session_expiry', 'disable_rounded_total': 'disable_rounded_total', + "update_stock": "update_stock", } class DocType: From e31d64ffe1ab2845aa389ffa6fafca45fefa7ddb Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 19 Mar 2013 18:42:29 +0530 Subject: [PATCH 2/2] save global defaults --- patches/patch_list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/patches/patch_list.py b/patches/patch_list.py index 236ef45fd2..9c0d9b8199 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -214,4 +214,5 @@ patch_list = [ "patches.march_2013.p04_pos_update_stock_check", "patches.march_2013.p05_payment_reconciliation", "patches.march_2013.p06_remove_sales_purchase_return_tool", + "execute:webnotes.bean('Global Defaults').save()" ] \ No newline at end of file