update print width

This commit is contained in:
Rushabh Mehta 2012-12-28 10:35:44 +05:30
parent 84adf1bb7f
commit b4c54e55a3
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import webnotes
def execute():
webnotes.reload_doc("core", "doctype", "docfield")
webnotes.conn.sql("""update tabDocField set print_width = width""")

View File

@ -570,4 +570,8 @@ patch_list = [
'patch_module': 'patches.december_2012',
'patch_file': 'remove_project_mapper',
},
{
'patch_module': 'patches.december_2012',
'patch_file': 'update_print_width',
},
]