diff --git a/erpnext/patches/update_gle_against_voucher_for_jv.py b/erpnext/patches/update_gle_against_voucher_for_jv.py index 7dc5a0b38d..96401ba2b8 100644 --- a/erpnext/patches/update_gle_against_voucher_for_jv.py +++ b/erpnext/patches/update_gle_against_voucher_for_jv.py @@ -1,6 +1,7 @@ def execute(): import webnotes from webnotes.modules.module_manager import reload_doc + from webnotes.model.code import get_obj # reload jv gl mapper reload_doc('accounts', 'GL Mapper', 'Journal Voucher')