Merge pull request #5906 from nabinhait/opportunity_status_fix

Added converted status in Opportunity
This commit is contained in:
Nabin Hait 2016-07-28 15:59:43 +05:30 committed by GitHub
commit acff41ddd2
2 changed files with 4 additions and 4 deletions

View File

@ -10,6 +10,7 @@
"docstatus": 0, "docstatus": 0,
"doctype": "DocType", "doctype": "DocType",
"document_type": "Document", "document_type": "Document",
"editable_grid": 1,
"fields": [ "fields": [
{ {
"allow_on_submit": 0, "allow_on_submit": 0,
@ -266,7 +267,7 @@
"no_copy": 1, "no_copy": 1,
"oldfieldname": "status", "oldfieldname": "status",
"oldfieldtype": "Select", "oldfieldtype": "Select",
"options": "Open\nQuotation\nLost\nReplied\nClosed", "options": "Open\nQuotation\nConverted\nLost\nReplied\nClosed",
"permlevel": 0, "permlevel": 0,
"print_hide": 1, "print_hide": 1,
"print_hide_if_no_value": 0, "print_hide_if_no_value": 0,
@ -1001,7 +1002,7 @@
"issingle": 0, "issingle": 0,
"istable": 0, "istable": 0,
"max_attachments": 0, "max_attachments": 0,
"modified": "2016-06-14 15:50:55.080217", "modified": "2016-07-28 15:58:06.614493",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "CRM", "module": "CRM",
"name": "Opportunity", "name": "Opportunity",

View File

@ -304,4 +304,3 @@ erpnext.patches.v7_0.remove_administrator_role_in_doctypes
erpnext.patches.v7_0.rename_fee_amount_to_fee_component erpnext.patches.v7_0.rename_fee_amount_to_fee_component
erpnext.patches.v7_0.calculate_total_costing_amount erpnext.patches.v7_0.calculate_total_costing_amount
erpnext.patches.v7_0.fix_nonwarehouse_ledger_gl_entries_for_transactions erpnext.patches.v7_0.fix_nonwarehouse_ledger_gl_entries_for_transactions
execute:frappe.db.sql("""update `tabOpportunity` set status='Quotation' where status='Converted'""")