diff --git a/erpnext/accounts/search_criteria/trial_balance/trial_balance.txt b/erpnext/accounts/search_criteria/trial_balance/trial_balance.txt index 63e7b4950d..175c8e60a4 100644 --- a/erpnext/accounts/search_criteria/trial_balance/trial_balance.txt +++ b/erpnext/accounts/search_criteria/trial_balance/trial_balance.txt @@ -5,7 +5,7 @@ { 'creation': '2012-04-03 12:49:53', 'docstatus': 0, - 'modified': '2012-04-03 12:49:53', + 'modified': '2012-07-23 11:49:53', 'modified_by': u'Administrator', 'owner': u'Administrator' }, @@ -14,7 +14,6 @@ { 'columns': u'Account\x01ID', 'criteria_name': u'Trial Balance', - 'description': u'Trial Balance', 'dis_filters': u'transaction_date', 'doc_type': u'Account', 'doctype': 'Search Criteria', diff --git a/erpnext/patches/july_2012/sync_trial_balance.py b/erpnext/patches/july_2012/sync_trial_balance.py new file mode 100644 index 0000000000..41e4cdf49f --- /dev/null +++ b/erpnext/patches/july_2012/sync_trial_balance.py @@ -0,0 +1,4 @@ +def execute(): + import webnotes + from webnotes.modules import reload_doc + reload_doc('accounts', 'search_criteria', 'trial_balance') \ No newline at end of file diff --git a/erpnext/patches/patch_list.py b/erpnext/patches/patch_list.py index b538c3d7b1..b945cd8e6e 100644 --- a/erpnext/patches/patch_list.py +++ b/erpnext/patches/patch_list.py @@ -492,4 +492,10 @@ patch_list = [ 'patch_file': 'remove_event_role_owner_match', 'description': "Remove Owner match from Event DocType's Permissions" }, + { + 'patch_module': 'patches.july_2012', + 'patch_file': 'sync_trial_balance', + 'description': "sync trial balance" + }, + ] \ No newline at end of file