mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
fixed conflict
This commit is contained in:
10
patches/december_2012/file_list_rename.py
Normal file
10
patches/december_2012/file_list_rename.py
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
import webnotes
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
for dt in webnotes.conn.sql("""select distinct parent from tabDocField
|
||||||
|
where fieldname='file_list'"""):
|
||||||
|
try:
|
||||||
|
webnotes.conn.sql("""update `tab%s` set file_list =
|
||||||
|
replace(file_list, "-", "")""" % dt[0])
|
||||||
|
except Exception, e:
|
||||||
|
if e.args[0]!=1146: raise e
|
||||||
@@ -733,6 +733,10 @@ patch_list = [
|
|||||||
'patch_module': 'patches.december_2012',
|
'patch_module': 'patches.december_2012',
|
||||||
'patch_file': 'fix_default_print_format',
|
'patch_file': 'fix_default_print_format',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'patch_module': 'patches.december_2012',
|
||||||
|
'patch_file': 'file_list_rename',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'patch_module': 'patches.december_2012',
|
'patch_module': 'patches.december_2012',
|
||||||
'patch_file': 'replace_createlocal',
|
'patch_file': 'replace_createlocal',
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ wn.doclistviews['Task'] = wn.views.ListView.extend({
|
|||||||
this.fields = this.fields.concat([
|
this.fields = this.fields.concat([
|
||||||
'`tabTask`.subject',
|
'`tabTask`.subject',
|
||||||
'`tabTask`.project',
|
'`tabTask`.project',
|
||||||
'`tabTask`.modified',
|
|
||||||
'`tabTask`.status',
|
'`tabTask`.status',
|
||||||
'`tabTask`.opening_date',
|
'`tabTask`.opening_date',
|
||||||
'`tabTask`.priority',
|
'`tabTask`.priority',
|
||||||
|
|||||||
Reference in New Issue
Block a user