From cd2f40ffefe06d46ccef849fbce8c48dbc249e2a Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 3 Oct 2012 11:17:37 +0530 Subject: [PATCH] reload purchase invoice gl mapper --- patches/october_2012/reload_gl_mapper.py | 5 +++++ patches/patch_list.py | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 patches/october_2012/reload_gl_mapper.py diff --git a/patches/october_2012/reload_gl_mapper.py b/patches/october_2012/reload_gl_mapper.py new file mode 100644 index 0000000000..8d364ec8eb --- /dev/null +++ b/patches/october_2012/reload_gl_mapper.py @@ -0,0 +1,5 @@ +def execute(): + import webnotes + from webnotes.modules import reload_doc + reload_doc("accounts", "GL Mapper", "Purchase Invoice") + reload_doc("accounts", "GL Mapper", "Purchase Invoice with write off") \ No newline at end of file diff --git a/patches/patch_list.py b/patches/patch_list.py index 340665bf1e..d874e4d08e 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -611,4 +611,8 @@ patch_list = [ 'patch_module': 'patches.october_2012', 'patch_file': 'update_permission', }, + { + 'patch_module': 'patches.october_2012', + 'patch_file': 'reload_gl_mapper', + }, ]