Merge branch 'master' into latest

Conflicts:
	erpnext/patches/patch_list.py
This commit is contained in:
Anand Doshi 2012-01-19 14:31:03 +05:30
commit 28ac0b0c88
3 changed files with 41 additions and 60 deletions

View File

@ -5,15 +5,25 @@
{ {
'creation': '2010-08-08 17:09:06', 'creation': '2010-08-08 17:09:06',
'docstatus': 0, 'docstatus': 0,
'modified': '2011-07-28 15:28:12', 'modified': '2012-01-19 14:15:53',
'modified_by': 'Administrator', 'modified_by': 'Administrator',
'owner': 'Administrator' 'owner': 'Administrator'
}, },
# These values are common for all DocField
{
'doctype': 'DocField',
'name': '__common__',
'parent': 'Journal Voucher',
'parentfield': 'fields',
'parenttype': 'DocType'
},
# These values are common for all DocType # These values are common for all DocType
{ {
'_last_update': '1311251040', '_last_update': '1311251040',
'colour': 'White:FFF', 'colour': 'White:FFF',
'default_print_format': 'Standard',
'doctype': 'DocType', 'doctype': 'DocType',
'module': 'Accounts', 'module': 'Accounts',
'name': '__common__', 'name': '__common__',
@ -23,15 +33,15 @@
'show_in_menu': 0, 'show_in_menu': 0,
'subject': ' ', 'subject': ' ',
'tag_fields': 'voucher_type', 'tag_fields': 'voucher_type',
'version': 309 'version': 311
}, },
# These values are common for all DocField # These values are common for all DocFormat
{ {
'doctype': 'DocField', 'doctype': 'DocFormat',
'name': '__common__', 'name': '__common__',
'parent': 'Journal Voucher', 'parent': 'Journal Voucher',
'parentfield': 'fields', 'parentfield': 'formats',
'parenttype': 'DocType' 'parenttype': 'DocType'
}, },
@ -57,7 +67,6 @@
'cancel': 0, 'cancel': 0,
'create': 0, 'create': 0,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 1,
'permlevel': 1, 'permlevel': 1,
'role': 'Accounts Manager', 'role': 'Accounts Manager',
'submit': 0, 'submit': 0,
@ -70,7 +79,6 @@
'cancel': 1, 'cancel': 1,
'create': 1, 'create': 1,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 2,
'permlevel': 0, 'permlevel': 0,
'role': 'Accounts Manager', 'role': 'Accounts Manager',
'submit': 1, 'submit': 1,
@ -83,7 +91,6 @@
'cancel': 1, 'cancel': 1,
'create': 1, 'create': 1,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 3,
'permlevel': 0, 'permlevel': 0,
'role': 'Accounts User', 'role': 'Accounts User',
'submit': 1, 'submit': 1,
@ -96,18 +103,28 @@
'cancel': 0, 'cancel': 0,
'create': 0, 'create': 0,
'doctype': 'DocPerm', 'doctype': 'DocPerm',
'idx': 4,
'permlevel': 1, 'permlevel': 1,
'role': 'Accounts User', 'role': 'Accounts User',
'submit': 0, 'submit': 0,
'write': 0 'write': 0
}, },
# DocFormat
{
'doctype': 'DocFormat',
'format': 'Payment Receipt Voucher'
},
# DocFormat
{
'doctype': 'DocFormat',
'format': 'Cheque Printing Format'
},
# DocField # DocField
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 1,
'label': 'Basic Info', 'label': 'Basic Info',
'oldfieldtype': 'Section Break', 'oldfieldtype': 'Section Break',
'permlevel': 0 'permlevel': 0
@ -117,7 +134,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 2,
'label': '1. Select Series and Dates', 'label': '1. Select Series and Dates',
'oldfieldtype': 'Section Break', 'oldfieldtype': 'Section Break',
'options': 'Simple', 'options': 'Simple',
@ -128,7 +144,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 3,
'oldfieldtype': 'Column Break', 'oldfieldtype': 'Column Break',
'permlevel': 0, 'permlevel': 0,
'width': '50%' 'width': '50%'
@ -139,12 +154,11 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'voucher_type', 'fieldname': 'voucher_type',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 4,
'in_filter': 1, 'in_filter': 1,
'label': 'Voucher Type', 'label': 'Voucher Type',
'oldfieldname': 'voucher_type', 'oldfieldname': 'voucher_type',
'oldfieldtype': 'Select', 'oldfieldtype': 'Select',
'options': '\nJournal Entry\nBank Voucher\nCash Voucher\nCredit Card Voucher\nDebit Note\nCredit Note\nContra Voucher\nExcise Voucher\nWrite Off Voucher\nLoan Receipt', 'options': '\nJournal Entry\nBank Voucher\nCash Voucher\nCredit Card Voucher\nDebit Note\nCredit Note\nContra Voucher\nExcise Voucher\nWrite Off Voucher',
'permlevel': 0, 'permlevel': 0,
'print_hide': 0, 'print_hide': 0,
'search_index': 1 'search_index': 1
@ -157,7 +171,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'write_off_amount', 'fieldname': 'write_off_amount',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 5,
'label': 'Write Off Amount <=', 'label': 'Write Off Amount <=',
'permlevel': 0, 'permlevel': 0,
'print_hide': 1, 'print_hide': 1,
@ -172,7 +185,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'write_off_based_on', 'fieldname': 'write_off_based_on',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 6,
'label': 'Write Off Based On', 'label': 'Write Off Based On',
'options': 'Accounts Receivable\nAccounts Payable', 'options': 'Accounts Receivable\nAccounts Payable',
'permlevel': 0, 'permlevel': 0,
@ -187,7 +199,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'naming_series', 'fieldname': 'naming_series',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 7,
'label': 'Series', 'label': 'Series',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'naming_series', 'oldfieldname': 'naming_series',
@ -205,7 +216,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'voucher_date', 'fieldname': 'voucher_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 8,
'in_filter': 1, 'in_filter': 1,
'label': 'Voucher Date', 'label': 'Voucher Date',
'no_copy': 1, 'no_copy': 1,
@ -223,7 +233,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'posting_date', 'fieldname': 'posting_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 9,
'in_filter': 1, 'in_filter': 1,
'label': 'Posting Date', 'label': 'Posting Date',
'no_copy': 1, 'no_copy': 1,
@ -239,7 +248,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'due_date', 'fieldname': 'due_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 10,
'label': 'Due Date', 'label': 'Due Date',
'oldfieldname': 'due_date', 'oldfieldname': 'due_date',
'oldfieldtype': 'Date', 'oldfieldtype': 'Date',
@ -253,7 +261,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'amendment_date', 'fieldname': 'amendment_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 11,
'label': 'Amendment Date', 'label': 'Amendment Date',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'amendment_date', 'oldfieldname': 'amendment_date',
@ -267,7 +274,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'amended_from', 'fieldname': 'amended_from',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 12,
'label': 'Amended From', 'label': 'Amended From',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'amended_from', 'oldfieldname': 'amended_from',
@ -283,7 +289,6 @@
'depends_on': "eval:doc.voucher_type == 'Write Off Voucher'", 'depends_on': "eval:doc.voucher_type == 'Write Off Voucher'",
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Button', 'fieldtype': 'Button',
'idx': 13,
'label': 'Get Outstanding Invoices', 'label': 'Get Outstanding Invoices',
'options': 'get_outstanding_invoices', 'options': 'get_outstanding_invoices',
'permlevel': 0, 'permlevel': 0,
@ -295,7 +300,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 14,
'oldfieldtype': 'Column Break', 'oldfieldtype': 'Column Break',
'permlevel': 0, 'permlevel': 0,
'width': '50%' 'width': '50%'
@ -306,7 +310,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'cheque_no', 'fieldname': 'cheque_no',
'fieldtype': 'Data', 'fieldtype': 'Data',
'idx': 15,
'in_filter': 1, 'in_filter': 1,
'label': 'Cheque No', 'label': 'Cheque No',
'no_copy': 1, 'no_copy': 1,
@ -321,7 +324,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'cheque_date', 'fieldname': 'cheque_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 16,
'label': 'Cheque Date', 'label': 'Cheque Date',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'cheque_date', 'oldfieldname': 'cheque_date',
@ -334,7 +336,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'clearance_date', 'fieldname': 'clearance_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 17,
'in_filter': 1, 'in_filter': 1,
'label': 'Clearance Date', 'label': 'Clearance Date',
'no_copy': 1, 'no_copy': 1,
@ -350,7 +351,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'user_remark', 'fieldname': 'user_remark',
'fieldtype': 'Small Text', 'fieldtype': 'Small Text',
'idx': 18,
'in_filter': 1, 'in_filter': 1,
'label': 'User Remark', 'label': 'User Remark',
'no_copy': 1, 'no_copy': 1,
@ -365,7 +365,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'remark', 'fieldname': 'remark',
'fieldtype': 'Small Text', 'fieldtype': 'Small Text',
'idx': 19,
'label': 'Remark', 'label': 'Remark',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'remark', 'oldfieldname': 'remark',
@ -378,7 +377,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 20,
'label': '2. Add / Edit GL Entries', 'label': '2. Add / Edit GL Entries',
'oldfieldtype': 'Section Break', 'oldfieldtype': 'Section Break',
'options': 'Simple', 'options': 'Simple',
@ -387,10 +385,10 @@
# DocField # DocField
{ {
'allow_on_submit': 1,
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'entries', 'fieldname': 'entries',
'fieldtype': 'Table', 'fieldtype': 'Table',
'idx': 21,
'label': 'Entries', 'label': 'Entries',
'oldfieldname': 'entries', 'oldfieldname': 'entries',
'oldfieldtype': 'Table', 'oldfieldtype': 'Table',
@ -403,7 +401,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Button', 'fieldtype': 'Button',
'idx': 22,
'label': 'Get Balance', 'label': 'Get Balance',
'oldfieldtype': 'Button', 'oldfieldtype': 'Button',
'permlevel': 0, 'permlevel': 0,
@ -415,7 +412,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'total_debit', 'fieldname': 'total_debit',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 23,
'in_filter': 1, 'in_filter': 1,
'label': 'Total Debit', 'label': 'Total Debit',
'no_copy': 1, 'no_copy': 1,
@ -429,7 +425,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'total_credit', 'fieldname': 'total_credit',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 24,
'in_filter': 1, 'in_filter': 1,
'label': 'Total Credit', 'label': 'Total Credit',
'no_copy': 1, 'no_copy': 1,
@ -443,7 +438,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'difference', 'fieldname': 'difference',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 25,
'label': 'Difference', 'label': 'Difference',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'difference', 'oldfieldname': 'difference',
@ -456,7 +450,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 26,
'label': 'Addtional Info', 'label': 'Addtional Info',
'oldfieldtype': 'Section Break', 'oldfieldtype': 'Section Break',
'permlevel': 0 'permlevel': 0
@ -466,7 +459,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 27,
'oldfieldtype': 'Column Break', 'oldfieldtype': 'Column Break',
'permlevel': 0, 'permlevel': 0,
'width': '50%' 'width': '50%'
@ -477,7 +469,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'bill_no', 'fieldname': 'bill_no',
'fieldtype': 'Data', 'fieldtype': 'Data',
'idx': 28,
'label': 'Bill No', 'label': 'Bill No',
'oldfieldname': 'bill_no', 'oldfieldname': 'bill_no',
'oldfieldtype': 'Data', 'oldfieldtype': 'Data',
@ -490,7 +481,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'bill_date', 'fieldname': 'bill_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 29,
'label': 'Bill Date', 'label': 'Bill Date',
'oldfieldname': 'bill_date', 'oldfieldname': 'bill_date',
'oldfieldtype': 'Date', 'oldfieldtype': 'Date',
@ -505,7 +495,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'is_opening', 'fieldname': 'is_opening',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 30,
'in_filter': 1, 'in_filter': 1,
'label': 'Is Opening', 'label': 'Is Opening',
'oldfieldname': 'is_opening', 'oldfieldname': 'is_opening',
@ -522,7 +511,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'aging_date', 'fieldname': 'aging_date',
'fieldtype': 'Date', 'fieldtype': 'Date',
'idx': 31,
'label': 'Aging Date', 'label': 'Aging Date',
'no_copy': 0, 'no_copy': 0,
'oldfieldname': 'aging_date', 'oldfieldname': 'aging_date',
@ -536,7 +524,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'cancel_reason', 'fieldname': 'cancel_reason',
'fieldtype': 'Data', 'fieldtype': 'Data',
'idx': 32,
'label': 'Cancel Reason', 'label': 'Cancel Reason',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'cancel_reason', 'oldfieldname': 'cancel_reason',
@ -551,7 +538,6 @@
'fieldname': 'pay_to_recd_from', 'fieldname': 'pay_to_recd_from',
'fieldtype': 'Data', 'fieldtype': 'Data',
'hidden': 0, 'hidden': 0,
'idx': 33,
'label': 'Pay To / Recd From', 'label': 'Pay To / Recd From',
'no_copy': 1, 'no_copy': 1,
'permlevel': 0, 'permlevel': 0,
@ -565,7 +551,6 @@
'fieldname': 'total_amount', 'fieldname': 'total_amount',
'fieldtype': 'Data', 'fieldtype': 'Data',
'hidden': 0, 'hidden': 0,
'idx': 34,
'label': 'Total Amount', 'label': 'Total Amount',
'no_copy': 1, 'no_copy': 1,
'permlevel': 1, 'permlevel': 1,
@ -579,7 +564,6 @@
'fieldname': 'total_amount_in_words', 'fieldname': 'total_amount_in_words',
'fieldtype': 'Data', 'fieldtype': 'Data',
'hidden': 0, 'hidden': 0,
'idx': 35,
'label': 'Total Amount in Words', 'label': 'Total Amount in Words',
'no_copy': 1, 'no_copy': 1,
'permlevel': 1, 'permlevel': 1,
@ -591,7 +575,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Column Break', 'fieldtype': 'Column Break',
'idx': 36,
'oldfieldtype': 'Column Break', 'oldfieldtype': 'Column Break',
'permlevel': 0, 'permlevel': 0,
'width': '50%' 'width': '50%'
@ -602,7 +585,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'fiscal_year', 'fieldname': 'fiscal_year',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 37,
'in_filter': 1, 'in_filter': 1,
'label': 'Fiscal Year', 'label': 'Fiscal Year',
'oldfieldname': 'fiscal_year', 'oldfieldname': 'fiscal_year',
@ -619,7 +601,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'company', 'fieldname': 'company',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 38,
'in_filter': 1, 'in_filter': 1,
'label': 'Company', 'label': 'Company',
'oldfieldname': 'company', 'oldfieldname': 'company',
@ -638,7 +619,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'select_print_heading', 'fieldname': 'select_print_heading',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 39,
'label': 'Select Print Heading', 'label': 'Select Print Heading',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'select_print_heading', 'oldfieldname': 'select_print_heading',
@ -654,7 +634,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 40,
'oldfieldtype': 'Section Break', 'oldfieldtype': 'Section Break',
'options': 'Simple', 'options': 'Simple',
'permlevel': 0 'permlevel': 0
@ -665,7 +644,6 @@
'allow_on_submit': 1, 'allow_on_submit': 1,
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Button', 'fieldtype': 'Button',
'idx': 41,
'label': 'View Ledger Entry', 'label': 'View Ledger Entry',
'oldfieldtype': 'Button', 'oldfieldtype': 'Button',
'permlevel': 0, 'permlevel': 0,
@ -677,7 +655,6 @@
{ {
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Section Break', 'fieldtype': 'Section Break',
'idx': 42,
'label': 'TDS', 'label': 'TDS',
'oldfieldtype': 'Section Break', 'oldfieldtype': 'Section Break',
'permlevel': 0, 'permlevel': 0,
@ -690,7 +667,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'tds_applicable', 'fieldname': 'tds_applicable',
'fieldtype': 'Select', 'fieldtype': 'Select',
'idx': 43,
'in_filter': 1, 'in_filter': 1,
'label': 'TDS Applicable', 'label': 'TDS Applicable',
'no_copy': 1, 'no_copy': 1,
@ -709,7 +685,6 @@
'fieldname': 'tds_category', 'fieldname': 'tds_category',
'fieldtype': 'Select', 'fieldtype': 'Select',
'hidden': 0, 'hidden': 0,
'idx': 44,
'in_filter': 1, 'in_filter': 1,
'label': 'TDS Category', 'label': 'TDS Category',
'no_copy': 1, 'no_copy': 1,
@ -729,7 +704,6 @@
'fieldname': 'supplier_account', 'fieldname': 'supplier_account',
'fieldtype': 'Link', 'fieldtype': 'Link',
'hidden': 0, 'hidden': 0,
'idx': 45,
'label': 'Supplier Account', 'label': 'Supplier Account',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'supplier_account', 'oldfieldname': 'supplier_account',
@ -745,7 +719,6 @@
'colour': 'White:FFF', 'colour': 'White:FFF',
'doctype': 'DocField', 'doctype': 'DocField',
'fieldtype': 'Button', 'fieldtype': 'Button',
'idx': 46,
'label': 'Get TDS', 'label': 'Get TDS',
'no_copy': 0, 'no_copy': 0,
'oldfieldtype': 'Button', 'oldfieldtype': 'Button',
@ -760,7 +733,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'tax_code', 'fieldname': 'tax_code',
'fieldtype': 'Link', 'fieldtype': 'Link',
'idx': 47,
'label': 'TDS Account Head', 'label': 'TDS Account Head',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'tax_code', 'oldfieldname': 'tax_code',
@ -775,7 +747,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'rate', 'fieldname': 'rate',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 48,
'label': 'Rate', 'label': 'Rate',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'rate', 'oldfieldname': 'rate',
@ -790,7 +761,6 @@
'doctype': 'DocField', 'doctype': 'DocField',
'fieldname': 'ded_amount', 'fieldname': 'ded_amount',
'fieldtype': 'Currency', 'fieldtype': 'Currency',
'idx': 49,
'label': 'Amount', 'label': 'Amount',
'no_copy': 1, 'no_copy': 1,
'oldfieldname': 'ded_amount', 'oldfieldname': 'ded_amount',

View File

@ -10,5 +10,11 @@ def execute():
WHERE fieldname='allocated_to' WHERE fieldname='allocated_to'
""") """)
webnotes.conn.sql("""
DELETE from `tabDocField`
WHERE parent='Customer Issue'
AND label='Make Maintenance Visit'
""")
from webnotes.modules.module_manager import reload_doc from webnotes.modules.module_manager import reload_doc
reload_doc('support', 'doctype', 'customer_issue') reload_doc('support', 'doctype', 'customer_issue')

View File

@ -29,5 +29,10 @@ patch_list = [
'patch_file': 'allocated_to_profile', 'patch_file': 'allocated_to_profile',
'description': """Change Options to "Profile" for fieldname "allocated_to" 'description': """Change Options to "Profile" for fieldname "allocated_to"
as this is giving improper values in Permission Engine""" as this is giving improper values in Permission Engine"""
} },
{
'patch_module': 'patches.jan_mar_2012',
'patch_file': 'remove_get_tds_button',
'description': "Remove One Get TDS button, which is appearing twice in JV"
},
] ]