commit | d8a002cd8e08b4f43ad85ddcf7271640913a0cd2 | [log] [tgz] |
---|---|---|
author | Anupam <anupamvns0099@gmail.com> | Tue Oct 13 18:11:50 2020 +0530 |
committer | Anupam <anupamvns0099@gmail.com> | Wed Oct 14 11:48:42 2020 +0530 |
tree | 8f59eefe0d8e70542742a5eeeeeb750813fee73d | |
parent | 73d944da21045d1f6387b5fc583e37e37850c30d [diff] | |
parent | 67a7279d1f9d375cd0710aafff46114d186f24b6 [diff] |
Merge branch 'opportunity-status' of https://github.com/anupamvs/erpnext into opportunity-status
diff --git a/erpnext/selling/doctype/quotation/quotation.py b/erpnext/selling/doctype/quotation/quotation.py index 7c55d77..36b584d 100644 --- a/erpnext/selling/doctype/quotation/quotation.py +++ b/erpnext/selling/doctype/quotation/quotation.py
@@ -62,8 +62,7 @@ opportunity = self.opportunity opp = frappe.get_doc("Opportunity", opportunity) - opp.status = status - opp.set_status(update=True) + opp.set_status(status=status, update=True) def declare_enquiry_lost(self, lost_reasons_list, detailed_reason=None): if not self.has_sales_order():