Skip to content

Commit

Permalink
fix: merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
sagarvora committed Apr 7, 2022
1 parent 3ea1bf2 commit 857eb61
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions erpnext/crm/doctype/opportunity/opportunity.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,7 @@ def make_new_lead_if_required(self):
@frappe.whitelist()
def declare_enquiry_lost(self, lost_reasons_list, detailed_reason=None):
if not self.has_active_quotation():
<<<<<<< HEAD
frappe.db.set(self, "status", "Lost")
=======
self.status = "Lost"
self.lost_reasons = []
self.competitors = []
>>>>>>> fa4f57f470 (fix: dont reassign mutable (list) to a different field)

if detailed_reason:
frappe.db.set(self, "order_lost_reason", detailed_reason)
Expand Down

0 comments on commit 857eb61

Please sign in to comment.