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