reload stock entry
This commit is contained in:
parent
1cb786b123
commit
e079a6eb26
@ -1287,5 +1287,5 @@ def execute(patch_no):
|
||||
sql("delete from `tabDocField` where parent = 'Leave Application' and fieldname = 'latter_head'")
|
||||
elif patch_no == 323:
|
||||
reload_doc('stock', 'doctype', 'stock_entry')
|
||||
sql("update `tabDocField` set options = 'get_stock_and_rate' where parent = 'Stock Entry' and label = 'Get Current Stock'")
|
||||
|
||||
sql("update `tabDocField` set options = 'get_stock_and_rate' where parent = 'Stock Entry' and label = 'Get Stock and Rate'")
|
||||
sql("delete from `tabDocField` where label = 'Get Current Stock' and parent = 'Stock Entry'")
|
||||
|
@ -5,14 +5,14 @@
|
||||
{
|
||||
'creation': '2009-05-12 16:46:45',
|
||||
'docstatus': 0,
|
||||
'modified': '2011-07-10 13:47:21',
|
||||
'modified': '2011-07-10 14:12:39',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all DocType
|
||||
{
|
||||
'_last_update': '1310210532',
|
||||
'_last_update': '1308741898',
|
||||
'allow_attach': 0,
|
||||
'allow_copy': 0,
|
||||
'allow_email': 0,
|
||||
@ -40,7 +40,7 @@
|
||||
'subject': '%(remarks)s',
|
||||
'tag_fields': 'purpose',
|
||||
'use_template': 0,
|
||||
'version': 1
|
||||
'version': 243
|
||||
},
|
||||
|
||||
# These values are common for all DocField
|
||||
@ -524,26 +524,24 @@
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 0,
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'HTML',
|
||||
'hidden': 0,
|
||||
'idx': 18,
|
||||
'in_filter': 0,
|
||||
'label': 'Warehouse HTML',
|
||||
'no_copy': 0,
|
||||
'oldfieldtype': 'HTML',
|
||||
'options': "<div class='columnHeading'>Warehouse</div>",
|
||||
'permlevel': 0,
|
||||
'print_hide': 1,
|
||||
'report_hide': 0,
|
||||
'reqd': 0,
|
||||
'search_index': 0
|
||||
'reqd': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 0,
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'from_warehouse',
|
||||
'fieldtype': 'Link',
|
||||
@ -827,13 +825,25 @@
|
||||
'permlevel': 0
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'idx': 34,
|
||||
'label': 'Get Stock and Rate',
|
||||
'oldfieldtype': 'Button',
|
||||
'options': 'get_stock_and_rate',
|
||||
'permlevel': 0,
|
||||
'print_hide': 1
|
||||
},
|
||||
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 0,
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'hidden': 0,
|
||||
'idx': 34,
|
||||
'idx': 35,
|
||||
'in_filter': 0,
|
||||
'label': 'Get Current Stock',
|
||||
'no_copy': 0,
|
||||
@ -850,7 +860,7 @@
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Column Break',
|
||||
'idx': 35,
|
||||
'idx': 36,
|
||||
'oldfieldtype': 'Column Break',
|
||||
'permlevel': 0
|
||||
},
|
||||
@ -862,7 +872,7 @@
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Button',
|
||||
'hidden': 0,
|
||||
'idx': 36,
|
||||
'idx': 37,
|
||||
'in_filter': 0,
|
||||
'label': 'Get Items',
|
||||
'no_copy': 0,
|
||||
@ -879,7 +889,7 @@
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 37,
|
||||
'idx': 38,
|
||||
'oldfieldtype': 'Section Break',
|
||||
'options': 'Simple',
|
||||
'permlevel': 0
|
||||
@ -888,11 +898,12 @@
|
||||
# DocField
|
||||
{
|
||||
'allow_on_submit': 0,
|
||||
'colour': 'White:FFF',
|
||||
'doctype': 'DocField',
|
||||
'fieldname': 'mtn_details',
|
||||
'fieldtype': 'Table',
|
||||
'hidden': 0,
|
||||
'idx': 38,
|
||||
'idx': 39,
|
||||
'in_filter': 0,
|
||||
'label': 'MTN Details',
|
||||
'no_copy': 0,
|
||||
@ -913,7 +924,7 @@
|
||||
'fieldname': 'total_amount',
|
||||
'fieldtype': 'Currency',
|
||||
'hidden': 0,
|
||||
'idx': 39,
|
||||
'idx': 40,
|
||||
'in_filter': 0,
|
||||
'label': 'Total Amount',
|
||||
'no_copy': 0,
|
||||
@ -930,7 +941,7 @@
|
||||
{
|
||||
'doctype': 'DocField',
|
||||
'fieldtype': 'Section Break',
|
||||
'idx': 40,
|
||||
'idx': 41,
|
||||
'label': 'Other Details',
|
||||
'oldfieldtype': 'Section Break',
|
||||
'permlevel': 0
|
||||
@ -943,7 +954,7 @@
|
||||
'fieldname': 'company',
|
||||
'fieldtype': 'Link',
|
||||
'hidden': 0,
|
||||
'idx': 41,
|
||||
'idx': 42,
|
||||
'in_filter': 1,
|
||||
'label': 'Company',
|
||||
'no_copy': 0,
|
||||
@ -964,7 +975,7 @@
|
||||
'fieldname': 'fiscal_year',
|
||||
'fieldtype': 'Select',
|
||||
'hidden': 0,
|
||||
'idx': 42,
|
||||
'idx': 43,
|
||||
'in_filter': 0,
|
||||
'label': 'Fiscal Year',
|
||||
'no_copy': 0,
|
||||
@ -985,7 +996,7 @@
|
||||
'fieldname': 'select_print_heading',
|
||||
'fieldtype': 'Link',
|
||||
'hidden': 0,
|
||||
'idx': 43,
|
||||
'idx': 44,
|
||||
'in_filter': 0,
|
||||
'label': 'Select Print Heading',
|
||||
'no_copy': 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user