update print width
diff --git a/patches/december_2012/update_print_width.py b/patches/december_2012/update_print_width.py
new file mode 100644
index 0000000..a808d95
--- /dev/null
+++ b/patches/december_2012/update_print_width.py
@@ -0,0 +1,5 @@
+import webnotes
+
+def execute():
+ webnotes.reload_doc("core", "doctype", "docfield")
+ webnotes.conn.sql("""update tabDocField set print_width = width""")
\ No newline at end of file
diff --git a/patches/patch_list.py b/patches/patch_list.py
index c9a4294..b1ebdef 100644
--- a/patches/patch_list.py
+++ b/patches/patch_list.py
@@ -570,4 +570,8 @@
'patch_module': 'patches.december_2012',
'patch_file': 'remove_project_mapper',
},
+ {
+ 'patch_module': 'patches.december_2012',
+ 'patch_file': 'update_print_width',
+ },
]
\ No newline at end of file