export_to_files function removed from index_patch, it was only for local
This commit is contained in:
parent
1458af0691
commit
23760e755d
@ -291,10 +291,5 @@ def create_proper_index():
|
|||||||
sql("start transaction")
|
sql("start transaction")
|
||||||
sql("UPDATE `tabDocField` SET search_index = 1 WHERE fieldname = '%s' AND parent = '%s'" % (d, dt))
|
sql("UPDATE `tabDocField` SET search_index = 1 WHERE fieldname = '%s' AND parent = '%s'" % (d, dt))
|
||||||
sql("commit")
|
sql("commit")
|
||||||
|
|
||||||
sql("start transaction")
|
|
||||||
dt_module = sql("select module from `tabDocType` where name = '%s'" % dt)[0][0]
|
|
||||||
export_to_files(record_list = [['DocType', dt]], record_module = dt_module)
|
|
||||||
sql("commit")
|
|
||||||
except:
|
except:
|
||||||
continue
|
continue
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
'creation': '2010-08-08 17:08:56',
|
'creation': '2010-08-08 17:08:56',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-05-26 17:31:31',
|
'modified': '2011-07-20 10:42:05',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
@ -26,7 +26,7 @@
|
|||||||
'show_in_menu': 0,
|
'show_in_menu': 0,
|
||||||
'subject': "eval:'%(customer_name)s'=='%(name)s' ? ' ' : '%(customer_name)s'",
|
'subject': "eval:'%(customer_name)s'=='%(name)s' ? ' ' : '%(customer_name)s'",
|
||||||
'tag_fields': 'customer_group,customer_type',
|
'tag_fields': 'customer_group,customer_type',
|
||||||
'version': 431
|
'version': 433
|
||||||
},
|
},
|
||||||
|
|
||||||
# These values are common for all DocField
|
# These values are common for all DocField
|
||||||
|
Loading…
x
Reference in New Issue
Block a user