[opportunity] status open

This commit is contained in:
Rushabh Mehta 2015-04-13 16:56:03 +05:30
parent c712dc6729
commit 4ac3094049
2 changed files with 3 additions and 3 deletions

View File

@ -13,12 +13,12 @@ status_map = {
["Opportunity", "has_opportunity"], ["Opportunity", "has_opportunity"],
], ],
"Opportunity": [ "Opportunity": [
["Open", None],
["Lost", "eval:self.status=='Lost'"], ["Lost", "eval:self.status=='Lost'"],
["Quotation", "has_quotation"], ["Quotation", "has_quotation"],
["Converted", "has_ordered_quotation"] ["Converted", "has_ordered_quotation"]
], ],
"Quotation": [ "Quotation": [
["Draft", None],
["Submitted", "eval:self.docstatus==1"], ["Submitted", "eval:self.docstatus==1"],
["Lost", "eval:self.status=='Lost'"], ["Lost", "eval:self.status=='Lost'"],
["Ordered", "has_sales_order"], ["Ordered", "has_sales_order"],

View File

@ -119,7 +119,7 @@
"no_copy": 1, "no_copy": 1,
"oldfieldname": "status", "oldfieldname": "status",
"oldfieldtype": "Select", "oldfieldtype": "Select",
"options": "Open\nQuotation\nLost\nReplied", "options": "Open\nQuotation\nLost\nReplied\nClosed",
"permlevel": 0, "permlevel": 0,
"print_hide": 1, "print_hide": 1,
"read_only": 0, "read_only": 0,
@ -407,7 +407,7 @@
"icon": "icon-info-sign", "icon": "icon-info-sign",
"idx": 1, "idx": 1,
"is_submittable": 0, "is_submittable": 0,
"modified": "2015-04-13 06:50:43.198407", "modified": "2015-04-13 07:25:51.598251",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "CRM", "module": "CRM",
"name": "Opportunity", "name": "Opportunity",