reload trial balance report
diff --git a/erpnext/accounts/search_criteria/trial_balance/trial_balance.txt b/erpnext/accounts/search_criteria/trial_balance/trial_balance.txt
index 63e7b49..175c8e6 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 0000000..41e4cdf
--- /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 b538c3d..b945cd8 100644
--- a/erpnext/patches/patch_list.py
+++ b/erpnext/patches/patch_list.py
@@ -492,4 +492,10 @@
'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