diff --git a/erpnext/patches/jan_mar_2012/jan_production_patches.py b/erpnext/patches/jan_mar_2012/jan_production_patches.py new file mode 100644 index 0000000000..f868ceac9e --- /dev/null +++ b/erpnext/patches/jan_mar_2012/jan_production_patches.py @@ -0,0 +1,9 @@ +import webnotes +def execute(): + """ + Patch includes: + * Reload of Stock Entry Detail + """ + from webnotes.modules.module_manager import reload_doc + + reload_doc('stock', 'doctype', 'stock_entry_detail') diff --git a/erpnext/patches/patch_list.py b/erpnext/patches/patch_list.py index 0e044bb612..d9a8219d76 100644 --- a/erpnext/patches/patch_list.py +++ b/erpnext/patches/patch_list.py @@ -18,5 +18,10 @@ patch_list = [ 'patch_module': 'patches.jan_mar_2012', 'patch_file': 'production_cleanup', 'description': 'Major changes in production module, almost rewrited the entire code' + }, + { + 'patch_module': 'patches.jan_mar_2012', + 'patch_file': 'jan_production_patches', + 'description': 'Fixes after Major changes in production module' } ]