mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-15 15:38:39 +00:00
fix(quotation): carry forward communications from opportunity at after_insert (backport #57639) (#57642)
Co-authored-by: Diptanil Saha <diptanil@frappe.io>
This commit is contained in:
@@ -147,6 +147,9 @@ class Quotation(SellingController):
|
|||||||
|
|
||||||
make_packing_list(self)
|
make_packing_list(self)
|
||||||
|
|
||||||
|
def after_insert(self):
|
||||||
|
self.carry_forward_communication()
|
||||||
|
|
||||||
def before_submit(self):
|
def before_submit(self):
|
||||||
self.set_has_alternative_item()
|
self.set_has_alternative_item()
|
||||||
|
|
||||||
@@ -292,7 +295,6 @@ class Quotation(SellingController):
|
|||||||
# update enquiry status
|
# update enquiry status
|
||||||
self.update_opportunity("Quotation")
|
self.update_opportunity("Quotation")
|
||||||
self.update_lead()
|
self.update_lead()
|
||||||
self.carry_forward_communication()
|
|
||||||
|
|
||||||
def on_cancel(self):
|
def on_cancel(self):
|
||||||
if self.lost_reasons:
|
if self.lost_reasons:
|
||||||
|
|||||||
Reference in New Issue
Block a user