reload so pending items

This commit is contained in:
Nabin Hait 2012-05-17 18:12:32 +05:30
parent 7a13b238cb
commit a926468574
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,7 @@
def execute():
import webnotes
from webnotes.model import delete_doc
delete_doc("Search Criteria", "sales_order_pending_items1")
from webnotes.modules import reload_doc
reload_doc('selling', 'search_criteria', 'sales_order_pending_items')

View File

@ -357,5 +357,10 @@ patch_list = [
'patch_file': 'std_pf_readonly',
'description': 'Make standard print formats readonly for system manager'
},
{
'patch_module': 'patches.may_2012',
'patch_file': 'reload_so_pending_items',
'description': 'reload so pending items'
},
]
]