[opportunity] not submittable

This commit is contained in:
Rushabh Mehta
2015-04-13 16:21:58 +05:30
parent 20bcf6aeff
commit fd0f1cb8b7
5 changed files with 27 additions and 24 deletions

View File

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