mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 07:22:13 +00:00
fix: link opportunity in prospect after creating opportunity from prospect (backport #41769) (#41777)
fix: link opportunity in prospect after creating opportunity from prospect (#41769)
(cherry picked from commit 12e48f0b63)
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
@@ -118,6 +118,8 @@ class Opportunity(TransactionBase, CRMNote):
|
|||||||
self.title = self.customer_name
|
self.title = self.customer_name
|
||||||
|
|
||||||
self.calculate_totals()
|
self.calculate_totals()
|
||||||
|
|
||||||
|
def on_update(self):
|
||||||
self.update_prospect()
|
self.update_prospect()
|
||||||
|
|
||||||
def map_fields(self):
|
def map_fields(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user